Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Converting a string variable into a list of numeric values in PL/SQL
Hi,
im passing a variable (in PERL) containing a list of values to a PL/SQL stored procedure (SP). The SP is supposed to get that variable and 'decompose' it into a list of numeric values.
PERL
PL/SQL
update cm_details set wd_status = 'NEW' where wd_order not in (to_number(p_list));
END upd_details;
I have no problem calling & executing the SP from PERL. The problem is that the SP cannot convert "1,2,3" into numeric 1,2,3.
Can anyone suggest how to make a SP convert a string variable into a list of numeric values?
Thanks,
GC Received on Wed Sep 05 2001 - 17:30:51 CDT
![]() |
![]() |