Oracle大对象处理

查找Clob字段中包含指定记录的方法

select count(*) from game_article t

where dbms_lob.instr(t.content, utl_raw.cast_to_raw(convert('duowan.com','utf8')), 1, 1) > 0

或者

select count(*) from game_article t
where dbms_lob.instr(t.content, 'duowan.com', 1, 1) > 0

posted @ 2010-03-25 18:49  hellofei  阅读(792)  评论(0编辑  收藏  举报