ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORA-06502 PL/SQL: numeric or value error string

ORA-06502 PL/SQL: numeric or value error string

原创 Linux操作系统 作者:tolywang 时间:2007-03-19 00:00:00 0 删除 编辑

ORA-06502: PL/SQL: 数字或值错误: 字符字符串缓冲区太小ORA-06512: "SFIS1.CHECK_ROUTE", line 31ORA-01403: 没有找到数据ORA-06512: "SFIS1.TEST_INPUT_SMTICT_Z", line 75ORA-01403: 没有找到数据ORA-06512: line 1******


导致的原因应该是你使用了
select into
但是根据条件,没有找到记录,所以触发no_data_found错误,而且你的procedure里面应该没有错误处理,提出了不能处理的异常状况 ORA-06502. 这个错误信息。

ORA-06502 PL/SQL: numeric or value error string

Cause: An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).

Action: Change the data, how it is manipulated, or how it is declared so that values do not violate constraints.
你还是得想办法找到出错的时候,究竟程序得到的值是什么?当你将这个值赋予一个变量或者赋予一个字段时,出现不匹配或者不满足约束的错误。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-84528/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14357381