|
mantis
Starting Member
Italy
1 Posts |
Posted - 11/29/2001 : 11:05:44
|
Hi,
I've to number the records in a SQL query made with SQL Server 2000. I need a field containing the number of that specific row starting from 1 and ending with the number of records retrieved.
Example
1, Field1, Field2, Field2....., FieldN 2, Field1, Field2, Field2....., FieldN 3, Field1, Field2, Field2....., FieldN ..... N, Field1, Field2, Field2....., FieldN
Where the first field will contain the row number. Can someone help me?
Thanks
Even the smallest person may change the course of the future! |
|