Quote:
Originally Posted by begooden-it
Hi,
An error number, when you run the procedure, would probably help to focus troubleshooting :-)
Eric
|
After running the procedure, I have got the error code:
460: Statement length exceeds maximum.
Example:
A) - To run the example
dbaccess utvdb1 64kInvestigation.sql
Database selected.
460: Statement length exceeds maximum.
Error in line 1
Near character position 1
Database closed.
B) - To find the meaning of error
finderr 460
-460 Statement length exceeds maximum.
The statement text in this PREPARE, DECLARE, or EXECUTE IMMEDIATE
statement is longer than the database server can handle. The actual
limit differs with different implementations, but it is always
generous, in most cases up to 32,000 characters. Review the program
logic to ensure that an error has not caused it to present a string
that is longer than intended (for example, by overlaying the null
string terminator byte in memory). If the text has the intended length,
revise the program to present fewer statements at a time.
How to overcome the limitation?