Hello, I have the folowing code which works on Oracle 10g SE but does not on XE:
DECLARE
d1 varchar2(32000);
BEGIN
d1 := to_char(substr(MY_FUNC_RETURNING_CLOB, 1, 8192));
END;
This ends with "ORA-06502: PL/SQL: numeric or value error." Only CLOBs shorter then 8192 works... (well the SUBSTR function is there just because of testing the maximum length of CLOB that does not fail).
Is this my mistake, a bug in XE or some XE limitation (using UTF-8 version of XE)?
Thanks for any hints!