--Oracle分页
定义好的游标
create or replace package chj1_package as
type chji1_cursor is ref cursor;
end chj1_package;
--一步
select t1.*,rownum from (select * from chengji) t1
--二步
select t1.*,rownum rn from (select * from chengji) t1 where rownum
Oracle 分页步骤
本文导语: --Oracle分页定义好的游标 create or replace package chj1_package astype chji1_cursor is ref cursor;end chj1_package; --一步select t1.*,rownum from (select * from chengji) t1--二步select t1.*,rownum rn from (select * from chengji) t1 where rownum
--Oracle分页
定义好的游标
create or replace package chj1_package as
type chji1_cursor is ref cursor;
end chj1_package;
--一步
select t1.*,rownum from (select * from chengji) t1
--二步
select t1.*,rownum rn from (select * from chengji) t1 where rownum