DB2,Mysql,Sqlserver,oracle分页算法,分页语句
Mysql
limit = ((feeds.getPageIndex() - 1) * 10 + 1) + "," + (feeds.getPageIndex() * 10);
DB2,Sqlserver
select * from (select ROW_NUMBER() OVER() AS ROWNUM, msap.* from msap_fund_det msap) d where ROWNUM between 11 and 20 ((feeds.getPageIndex() - 1) * 10 + 1) + "," (feeds.getPageIndex() * 10);
相关推荐
K先生 2020-11-10
wushengyong 2020-10-28
西瓜皮儿的皮儿 2020-09-07
molong0 2020-08-03
jokewinl 2020-07-18
田有朋 2020-07-05
80530895 2020-07-05
javamagicsun 2020-06-21
liangwenrong 2020-06-17
molong0 2020-06-16
xiuyangsong 2020-06-03
jaylong 2020-06-02
EdShao 2020-05-29
晨曦之星 2020-05-29
dreamhua 2020-05-10
smalllove 2020-05-09
liqiancao 2020-05-08
Dullonjiang 2020-05-06
GechangLiu 2020-05-04