v_from := (p_pageIndex - 1) * p_pageSize + 1;
v_to := v_from + p_pageSize - 1;
p_totalRows := 0;
(select t2.*
from (select rownum rn, t1.*
from () t1) t2
where rn between v_from and v_to)
时间: 2024-10-18 02:07:13
v_from := (p_pageIndex - 1) * p_pageSize + 1;
v_to := v_from + p_pageSize - 1;
p_totalRows := 0;
(select t2.*
from (select rownum rn, t1.*
from () t1) t2
where rn between v_from and v_to)