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: SQL Question

RE: SQL Question

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Wed, 29 May 2002 12:50:15 -0800
Message-ID: <F001.0046EBE4.20020529125015@fatcity.com>


Stephane,
 Thanks.
 Nice idea :)
 I will pass on this idea to them... Hope it flies..

 Looks like either a function or a view around the 'ugly' code is the only choice.

-----Original Message-----
Sent: Wednesday, May 29, 2002 3:32 PM
To: Multiple recipients of list ORACLE-L

<Snip>

Kirti,

   I had a vague remembrance of something which might have been helpful in dbms_utility but the closer you get to is a comma_to_table() procedure. Even without your reluctance to REPLACE(), you would be lucky if your data could bear this kind of transformation.   Well, its a bit like sweeping dirt under the carpet, but I think that a function

                 getfield(string in varchar2, pos in number, separator
in char)
                 return varchar2;

 full of substr and instr should make the upper level query more legible ...  

Regards,

Stephane Faroult
Oriole Software
--
--

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

Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.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 May 29 2002 - 15:50:15 CDT

Original text of this message

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