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 loader-dates

Re: sql loader-dates

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Wed, 19 Dec 2001 09:20:54 -0800
Message-ID: <F001.003E0472.20011219090040@fatcity.com>

Try using the to_date command for the column data in question in your control file: ex: load data
append
into table xxx
trailing nullcols
( column1 terminated by "," "to_date(:column1,'mm/dd/yyyy')", column2.....
ROR mª¿ªm

>>> iashraf_at_csc.com 12/19/01 10:45AM >>>
Hi ,

In my data file i have dates in the format e.g. 12/19/2001, but when loader tries to insert this into the table , the table is expecting date in the format 19-DEC-01
so it rejects the data.
What can i do to get around this?

regards

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: 
  INET: iashraf_at_csc.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: Ron Rogers
  INET: RROGERS_at_galottery.org

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 Dec 19 2001 - 11:20:54 CST

Original text of this message

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