empty_blob() and empty_clob()
to_blob(), to_clob(), to_nclob() and to_lob insert and update statements, they cannot be passed to the functions or procedures of dbms_lob. dbms_lob.createTemporary(). varchar2 is not distinguishable from null in Oracle, a clob with an empty string is different from null: create table tq84_c (id integer, c clob); begin insert into tq84_c values (1, null ); insert into tq84_c values (2, '' ); insert into tq84_c values (3, empty_clob()); commit; end; / select id, length(c) len from tq84_c; -- -- ID LEN -- ---- ---- -- 1 -- 2 -- 3 0 drop table tq84_c;