Viewing 2 posts - 1 through 2 (of 2 total)
A precomputed column for the sequence can lead to problems when someone modifies the data. Say a date changes then you'd need to resequence all the rows at the time...
August 20, 2010 at 9:24 am
#1209742
It's a good introduction for ROW_NUMBER but the query plan it generates is a little horrible. I wouldn't recommend ROW_NUMBER() for this task.
With the ROW_NUMBER() approach you can't use any...
August 20, 2010 at 4:55 am
#1209571