用SQL語句實現分頁,如何得到其分頁的總共多少頁?
分頁語句如下:
select top 10 * from dguser where id not in (select top ((CurrentPage - 1) * 10) id from dguser order by id