0
点赞
收藏
分享

微信扫一扫

【go语言】CSP并发机制与Actor模型

凯约 2023-12-28 阅读 27

当oracle数据表中有clob类型字段时候,insert或update的sql语句中,超过长度就会报错
ORA-01704: string literal too long

update xxx
set xxx = ' <div><h1>123</h1></div> '
where id= 100;

可以修改为

DECLARE
  str varchar2(10000);
BEGIN
  str := '<div><h1>123</h1></div>';
  update xxx set xxx = str where id= 100;;
END;
举报

相关推荐

0 条评论