ORA-6502 From Execute Immediate When in a Loop and Statement is > 32K & < 64K
(Doc ID 1367929.1)
Last updated on DECEMBER 16, 2019
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
Executes immediate the concatenated update statement 10 times in a loop.
In 188.8.131.52 and higher the code fails on the execute immediate with ORA-6502. The exact same code works prior to 11.2. Also adding dbms_output statement to the loop will resolve the error
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document