Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> comma_to_table cannot convert a list of numbers ??

comma_to_table cannot convert a list of numbers ??

From: Rahul <rahul_at_ratelindo.co.id>
Date: Wed, 03 Oct 2001 04:56:18 -0700
Message-ID: <F001.003A03C1.20011003045550@fatcity.com>

List,

i'v been trying out a simple use of dbms_utility.comma_to_table procedure the procedure takes a comma delimited string of values and returns the individual values in an array

the procedure works fine when i pass a stirng like 'A,B' but error is returned when i pass '1,2'

the OUT parameter is and array of varchar2

ResultTab dbms_utility.uncl_array;

in_str := '1,2';

dbms_utility.comma_to_table(in_str, strLen, ResultTab);

what is the workaround ??

TIA
Rahul

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Rahul
  INET: rahul_at_ratelindo.co.id

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Oct 03 2001 - 06:56:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US