小新 的 BLOG
            
            -=Oracle、MS SQLServer还有MySQL,当然也少不了应用程序数据库操作=-

getting some rows in oracle

   数据库[原创]2004-10-31 11:48
these would effectively settle how to get rows N through M of a result set in oracle
* :fields
1:
select * from tables where rownum <M
MINUS
select * from tables where rownum <n;
2
select * from
(select a.*,rownum r from
(select * from veh order by fatwaid order by seq) a
where rownum < =M)
where rownum <= n
3……
标签集:TAGS:
回复Comments()点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}
  用户登录
用户名
密 码
选 项:
 
  我的日历
  分类日志
  访问计数
  获取 RSS
bluelover 最新的 20 条日志
  最新评论
  友情链接
  联系我
                  GMail:bluelover@gmail.com
MSN:xini_huang@hotmail.com
QQ:85364603
Modified by blueloverPowered by 5DBlog.com