經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供