Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ordinal number
Message
From
29/05/2015 15:47:23
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Ordinal number
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01620360
Message ID:
01620360
Views:
48
I'm extracting rows from a table and ordering the result based on idcol, an identity column.
I want to add a column to the resultant set that shows what position the row holds in the set.. 1, 2, 3, etc.
How best to do that?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Next
Reply
Map
View

Click here to load this message in the networking platform