Home > Database > Mysql Tutorial > Oracle大对象处理

Oracle大对象处理

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:12:46
Original
1278 people have browsed it

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 1、查找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

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入

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

    2、如何判断oracle大字段(clob)为空?

    select * from a where x is null or dbms_lob.getlength(x) = 0

    DBMS_LOB为专门处理大对象的一个包

    DBMS_LOB.GETLENGTH是查大对象数据类型的大小

Oracle大对象处理

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template