I a开发者_如何学运维m looking for something like rownum
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.
Select Top n Col From Table
I a开发者_如何学运维m looking for something like rownum
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.
Select Top n Col From Table
上一篇:龙井虾仁?
中国四大石林,看尽自然鬼斧神工?:下一篇
精彩评论