2008-05-24
db2 和oracle下的分页操作
select * from
(
select t.CLICK_ID,t.MENUID,t.CREAT_TIME,rownumber()
over(order by t.CREAT_TIME desc) as rn from PAPP.T_SYS_WEB_CLICK t
) as al where al.rn<=10 and al.rn>=0
oracle 中是用rownum r 而不是rownumber()
over(order by t.CREAT_TIME desc) as rn
发表评论
我的相册
CIMG0924
共 34 张
共 34 张
链接
最新评论
-
C3P0连接池的相关配置
c3p0使用实例 public class DBConn   ...
-- by beyondsanli -
优秀员工感想
写的很有内涵我很喜欢 挺有特色的
-- by blucedong -
编码之上传下载
import java.io.UnsupportedEncodingExcept ...
-- by beyondsanli -
由功夫熊猫想到的
评论转载自:http://bbs.gxsd.com.cn/viewthread. ...
-- by beyondsanli -
由功夫熊猫想到的
评论转载自:http://bbs.gxsd.com.cn/viewthread. ...
-- by beyondsanli







评论排行榜