Good Morning Tim,
I have a below scenario and we are using Oracle 11g.
We have a IN OUT parameter to a stroed proc with VARCHAR2 data type.
In the stored proc, a query is built dynamically and it is assigned to this IN OUT parameter.But, the size of the query is more than 9000 characters.
When I assign the value to this parameter it retun the below error.
ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
Could you please help me out how to overcome this issue as it an high priority.
Please reply with an appropriate example.
It seems, for a locale varible in the proc, we can give a max size of 32767, but it allows only 4000 for formal parameter.
Thanks in advance.
Regards,
Sampath.