Hi,
I am trying execute the following SQL:
select id, length(rec), dbms_lob.substr(rec, length(rec) ,1)
from ITEMS
WHERE
ID = 'PROD'
The length for 'rec' is 3832 characters. The query fails with message : 'ORA-06502 PL/SQL numeric or values error: Character buffer string too small'
How do I solve this problem?
Thanks.
I am trying execute the following SQL:
select id, length(rec), dbms_lob.substr(rec, length(rec) ,1)
from ITEMS
WHERE
ID = 'PROD'
The length for 'rec' is 3832 characters. The query fails with message : 'ORA-06502 PL/SQL numeric or values error: Character buffer string too small'
How do I solve this problem?
Thanks.