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 05:56:34 -0700
Message-ID: <F001.003A04B7.20011003054532@fatcity.com>

Probably your nls_numeric_characters are ., (look at the nls_session_parameters view) (comma will be for thousands parameter). You should be able to change it with an alter session but I can't see how yet.

Iain Nicoll

-----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 - 07:56:34 CDT

Original text of this message

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