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: SQLLDR - whitespace (tab & space) problem

RE: SQLLDR - whitespace (tab & space) problem

From: Saj Raza <saj.raza_at_qxl.com>
Date: Mon, 30 Apr 2001 02:55:45 -0700
Message-ID: <F001.002F5487.20010430023520@fatcity.com>

Try something like the lines below, as 9 is the ASCII code for a TAB :

        load data
        infile *
        INTO TABLE experiment_with_tab_delimiter
        FIELDS TERMINATED BY X'9'
        (textcol1, textcol2)
        BEGINDATA



Saj

        -----Original Message-----
        From:   Helen Zhung [SMTP:lannyue_at_yahoo.com]
        Sent:   Friday, April 27, 2001 7:40 PM
        To:     Multiple recipients of list ORACLE-L
        Subject:        SQLLDR - whitespace (tab & space) problem

        Hello: 

        I'm new to SQL Loader. Is there a way to code in control file that
can separate 'a tab' and 'a blank space' ?

        I use "FIELDS TERMINATED BY WHITESPACE", but it will TERMINATE a field when there is a space or a tab. However, the data fields were separated only by the "tab", not 'a space'. Is it possible to identify the two?

        Thanks          


        
        Do You Yahoo!?
        Yahoo! Auctions <http://auctions.yahoo.com/>  - buy the things you
want at great prices

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com



--

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

Author: Saj Raza
  INET: saj.raza_at_qxl.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 Mon Apr 30 2001 - 04:55:45 CDT

Original text of this message

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