sqlserver分页查询数据
要求sqlserver 2012以上版本
使用命令 SELECT @@VERSION 查看版本号
select * from table_name order by id offset 0 rows fetch next 10 rows only;
要求sqlserver 2012以上版本
使用命令 SELECT @@VERSION 查看版本号
select * from table_name order by id offset 0 rows fetch next 10 rows only;