11 Nov 2011

Adding Row Number in SQL

SELECT ROW_NUMBER () OVER ( ORDER BY com_code )
       ,*
FROM   Mcompany

No comments:

Post a Comment