Wednesday, January 20, 2010

How to count serial no. colum in Sql server

Select rank() over (order by [distinct column name] ) from [table name]

No comments:

Post a Comment