ORA-06502: PL/SQL: numeric or value error: character string buffer too small

昨天,数据报送的时候前台报了一个看不出什么错误的错误,根据APP日志发现具体报错如下:

java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small

报错具体原因如下:

有一个动态sql,真的是超级长,变量tempStr 定义为varchar 11000,结果还是超了,修改为12000,运行正常。

posted @ 2018-04-04 08:52  HyperLu  阅读(1726)  评论(0编辑  收藏  举报