Hi,
I'm trying to insert a register in a table from other table with listagg.
insert into proc_agents(grp)
(select listagg(grpname,',') within group (order by grpname) from CMS.AGEN where
nodeid='try');
commit;
But it gives me an error:
13:04:36 [/* - 0 row(s), 0.000 secs] [Error Code: 17439, SQL State: 99999] Tipo SQL no válido: sqlKind = UNINITIALIZED
My grp is varchar2(4000).
I dont know why gives me these error? Someone could help me please? Thanks and sorry for my English!