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 20:28:22 -0800
Message-ID: <F001.0046F1EC.20020529202822@fatcity.com>


Peter,
Thanks. I am not sure if a Java solution would work. Looks like they have settled on a view.
Nice to know how Java could help, but I am not sure if they can use it. I will ask.
Thanks for your offer.

Regards,
- Kirti

-----Original Message-----

Sent: Wednesday, May 29, 2002 6:23 PM
To: Multiple recipients of list ORACLE-L

Kirti
I needed to do something similar but it isn't due to bad normalisation it is to extract data in a load process so we don't have bad normalisation. I decided to use Java and built a parser in that and I just feed it a line and the code simply extracts that data on the selected delimiter. Mine the delimiter is a fixed value in code, it could be altered to use a runtime selected value. I can provide the source if it would be of use.

Cheers

--


Peter McLarty               E-mail: Peter.Mclarty_at_mincom.com
Technical Consultant        WWW: http://www.mincom.com
APAC Technical Services     Phone: +61 (0)7 3303 3461
Brisbane,  Australia        Mobile: +61 (0)402 094 238
                            Facsimile: +61 (0)7 3303 3048
=================================================
A great pleasure in life is doing what people say you cannot do.

This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise.

"Deshpande, Kirti" <kirti.deshpande_at_verizon.com> Sent by: root_at_fatcity.com
30-05-2002 04:22 AM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Fax to: 
        Subject:        SQL Question


I need some help...

The database table has following structure. commision_id number
com_text_msg varchar2(500)

The second column contains data fields that are delimited by ~ and delimiter's position varies. But there are only eight data fields in the column.

Is there a way in SQL, other than substr/instr combinations, to extract each
data field to report?

Thanks.

--

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

--

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 - 23:28:22 CDT

Original text of this message

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