Oracle大对象处理

来源:互联网 发布:淘宝我打软件 编辑:程序博客网 时间:2024/05/21 10:10

 转载于:http://www.cnblogs.com/hellofei/archive/2010/03/25/1696091.html

 

查找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

原创粉丝点击