I have a function in PLSQL, that operates with strings and return VARCHAR2 type.
One of the variables in this function is
result_key VARCHAR2 (4000) := '';
When it work with a big amount of data I get ORA-06502: PL/SQL: numeric or value error: character string buffer too small
error.
Seems like I have to extend my result_key
variable. The only solution I see is to declare result_key
as
result_key VARCHAR2 (8000) := '';
I want to know if I can do it without declaring fixed size of result_key
.