您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

oracle,sqlserver 2000分页查询

2024/12/21 14:49:10发布11次查看
欢迎进入oracle社区论坛,与200万技术人员互动交流 >>进入 前台ext,后台ibatis 数据库分页 oracle: select * from (select a.* ,rownum rn from 表名 a where 字段名 like ('%'||#字段名#||'%') order by $orderby$ $ordertype$) where rn#start# and rn=#st
欢迎进入oracle社区论坛,与200万技术人员互动交流 >>进入
前台ext,后台ibatis  数据库分页
oracle:
select * from (select  a.* ,rownum rn from 表名 a where  字段名 like ('%'||#字段名#||'%') order by $orderby$ $ordertype$) where rn>#start# and rn
sqlserver 2000:
select top $limit$ * from 表名 where id not in(select top $start$ id from 表名 order by $orderby$ $ordertype$) order by $orderby$ $ordertype$
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product