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: nls_date_format problem in sqlldr

Re: nls_date_format problem in sqlldr

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Thu, 10 Jan 2002 07:29:39 -0800
Message-ID: <F001.003EC4A3.20020110065027@fatcity.com>

Ruth,
If the source file is being loaded with SQL LOADER that you can format the date load in the controlfile. We get our dates in the YYYYMMDD format and load in to the database default by defining the source data:
....
SaleDate TERMINATED BY ","
"TO_DATE(:SALEDATE,'YYYYMMDD')", 
...Good Luck.
Ron
ROR mª¿ªm>>> rgramolini_at_tax.state.vt.us 01/10/02 08:25AM
>>>Good morning,We are having a problem load a file
containing dates in MON DD YYYY formatinto a database having and nls_date_format=YYYYMMDD.  Is there a way to doan alter session command in the control file or the parameter file to thatwe can load this data?We have had the production database down for 4 days with various problemsand this is the last straw.Thanks in advance,Ruth-- Please see the official ORACLE-L FAQ: <A href="http://www.orafaq.com">http://www.orafaq.com-- Author: Ruth Gramolini  INET: rgramolini_at_tax.state.vt.usFat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051San Diego, California        -- Public Internet access / Mailing

Lists--------------------------------------------------------------------To 
REMOVE yourself from this mailing list, send an E-Mail messageto: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and inthe message BODY, include a line containing: UNSUB ORACLE-L(or the name of mailing list you want to be removed from).  You mayalso send the HELP command for other information (like subscribing). Received on Thu Jan 10 2002 - 09:29:39 CST

Original text of this message

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