Reputation:
I am looking for something like rownum
Upvotes: 1
Views: 9713
Reputation: 91326
You can use TOP, for example:
SELECT Top 10 col FROM Table ORDER BY col2
Note that this will return more than 10 records if col2 has duplicates.
Upvotes: 2