分页优化语句格式
孤竹星
2015-03-20 14:27:06
Oracle
原创
select /*+ first_rows */ *
from --11g 之前加这个hint,之后可以加也可以不加
(select *
from (select a.*, rownum rn
from (代码放这里,另外需要根据排序列,建立合适索引) a)
where rownum <= 20)
where rn >= 0;
oracle11g + centos6.5 静默安装
修改linux主机名