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

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

RE: comma_to_table cannot convert a list of numbers ??

From: Nicoll, Iain (Calanais) <iain.nicoll_at_calanais.com>
Date: Wed, 03 Oct 2001 06:36:49 -0700
Message-ID: <F001.003A04FE.20011003055518@fatcity.com>

ALTER SESSION SET nls_numeric_characters = './' where / is the group separator. You could change this to something that you would never come across.

-----Original Message-----
Sent: 03 October 2001 13:56
To: Multiple recipients of list ORACLE-L

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).
--

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

Author: Nicoll, Iain (Calanais)
  INET: iain.nicoll_at_calanais.com
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 - 08:36:49 CDT

Original text of this message

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