 |
Rownum in SQL Server
Method 3 The other way for SQL 2000 is to use the IDENTITY function in order to generate a Rownum. The downside is that you must insert the results into a temp table, then select from the temp table in order to retrieve the rownum.
sqlserverplanet.com |
 |