前言:若在使用存储过程还是提示:string literal too long 则使用如下方法
核心思想就是字符串拼接
part1:
DECLARE
field1_clob clob := 'first half part';
BEGIN
update T_protocol set protocol_content = field1_clob where protocol_id = '111';
END;
commit;
part2:
DECLARE
field1_clob clob := 'second half part';
BEGIN
update T_protocol set protocol_content = protocol_content||field1_clob where protocol_id = '111';
END;
commit;
参考链接:https://blog.csdn.net/weixin_40241267/article/details/78923706