Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a rownumber?
Message
From
19/09/2013 09:46:05
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 6.5 and older
Application:
Web
Miscellaneous
Thread ID:
01583615
Message ID:
01583620
Views:
51
>I don't know if this will help...but T-SQL has a ROW_NUMBER function...
>
>
>select ROW_NUMBER() over  (order by LastName, FirstName)  , FirstName, LastName from NamesTable order by LastName, FirstName
>
Not really Kevin

thats the ROW_NUMBER() in the results not the row of the original data.(I think)

I'll have to sort out a proper key for the data and pass that.

Nick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform