declare @pageIndex int2
declare @pageSize int3
set @pageIndex=14
set @pageSize=265

6
SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY id DESC) AS rownum,7
id, callerno, calleeno, uid, callbegin,callend,bs8
FROM [222.43.48.95].lyzj.dbo.billlog where uid='007') AS D9
WHERE rownum BETWEEN (@pageIndex-1)*@pageSize+1 AND @pageIndex*@pageSize10
ORDER BY id DESC转载于:https://www.cnblogs.com/ywcz060/archive/2009/09/24/1573031.html
1132




被折叠的 条评论
为什么被折叠?



