Viewing post 1 (of 1 total)
Here is a sample for when you need a row number but don't care what it is ordered by:
SELECT TOP 100 ROW_NUMBER() OVER (ORDER BY (SELECT NULL)), * FROM sys.objects
December 4, 2013 at 11:29 pm
#1670921