SQl判断空格 VS Oracle分页

来源:互联网 发布:淘宝电影在线 编辑:程序博客网 时间:2024/06/05 10:24

select instr(段落名,' ') from 表名 where 条件;

如果有空格则大于0,没有则为0

select * from
   (select t.*,rownum row_num from dplclaim t order by t.makedate desc) b
where b.row_num between 1 and 75