You can use :-
SELECT ROW_NUMBER() OVER (ORDER BY ColumnName1) As SrNo,ColumnName1,ColumnName2,ColumnName3 from Tablename
Thanks![]()
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |