
正文
exception PLS-00215: String length constraints must be in range (1 .. 32767)
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
exception PLS-00215: String length constraints must be in range (1 .. 32767)
CreationTime--2018年8月16日08点49分
Author:Marydon
1.情景展示
Author:Marydon
1.情景展示
存储过程声明变量时,编译报错信息如下:
2.原因分析
直译结果:字符串长度限制在范围(1...32767)
意思是:声明变量的时候,必须指定其最大长度。
3.解决方案
指定字符串的大小
V_SQL varchar2(1000) := 'select decode(length(' || V_END || '),10,' || 'contact(' || V_END || ', 00:00:00),' || V_END || ') from dual';
相关推荐:
- exception PLS-00103: Encountered the symbol "(" when expecting one of the following:
- exception PLS-00403: expression 'V_END' cannot be used as an INTO-target of a SELECT/FETCH statement







