表test
test_id      varchar2类型
test_vaule   clob类型create or replace procedure updateclob(
  v_clob in varchar2,
  res out varchar2)
is
begin
     update test set test_value = v_clob where test_id = '1';
     commit;
exception
    when others then
    rollback;
end updateclob;当入参v_clob内容过多时(超过4000字节) 会报str绑定值的结尾Null字符缺失。
望大虾们指教!!

解决方案 »

  1.   

    create or replace procedure updateclob(
      v_clob in clob,
      res out varchar2)
    is
    begin
      update test set test_value = v_clob where test_id = '1';
      commit;
    exception
      when others then
      rollback;
    end updateclob;
      

  2.   

    超长了,自然看不到。4000以内可以看到。可以用dbms_lob.get_length()得到实际长度。
      

  3.   

    是查询数据的时候什么也没有。什么意思啊,是不是查询结果出来一个<CLOB> 啊,如果是,点后面的方块就能看见了
      

  4.   

    在sql*plus下的确没问题 但是用plsql developer下调试 就是插不进去没数据