ORA-01485: compile bind length different from execute bind length
Cause: You bound a buffer of type DTYVCS (VARCHAR with the two byte length in front) and at execute time the length in the first two bytes is more than the maximum buffer length (given in the bind call). The number of elements in the array and the current number of elements in the array cannot be more than the maximum size of the array.
Action: None
这个错误ORA-01485: compile bind length different from execute bind length 提醒用户变量的长度在编译时和运行时不一致。
– 在编译时使用了变量,但在运行时没有传递该变量;
– 在编译时和运行时传递给变量的长度不同;
– 编译使用的变量和运行时使用的变量类型不同,例如VARCHAR2类型和NUMBER类型。