In function I have got ORA-06502 error on this line:
newlist := LTRIM(RTRIM(newlist)) + ',';
CREATE OR REPLACE FUNCTION String_To_Int_Table
(
list VARCHAR2
, delimiter NCHAR DEFAULT ','
)
RETURN t_nested_table
AS
value VARCHAR(11);
position INT;
newlist varchar2(4096);
tableList t_nested_table;
...
newlist := list;
newlist := LTRIM(RTRIM(newlist)) + ',';
I don't see any conversion problem here. /totally confused/