Hi,
Quick question, I want an SQL query that will update a set of rows with an incremental number..
ie.
Current Table
Row:ColumValue
1:0
2:0
3:0
4:0
Updated table
Row:ColumValue
1:1
2:2
3:3
4:4
Something along the lines of...
UPDATE table SET ColumnValue = MAX(ColumnValue) + 1
But GROUP functions arn't allowed in an statement.. Any ideas...