sqlserver的limit替换为top
C# 2018-07-19 18:03:40 1

sql:

select * from CarInPark order by InTime asc limit 5

 

sqlserver:

select top 5 * from CarInPark order by InTime asc

 

 

本文来自于:http://www.yoyo88.cn/study/net/345.html

sqlserver的limit替换为top(0)
还可以输入500
暂无评论
Powered by yoyo苏ICP备15045725号