Re: Loading a constant date using SQLLDR



On 17 Mar 2006 21:02:15 -0800, jimit99@xxxxxxxxx wrote:

Hello,

I want to load a fixed date (5th March 2006) into a date column of an
Oracle table through sqlldr

The date is available in format 20060305.

Have tried several options in the control file as follows but none seem
to help:

LOAD DATA APPEND INTO TABLE LOST_FEED
( REPORT_DATE CONSTANT '20060305') )

LOAD DATA APPEND INTO TABLE LOST_FEED
( REPORT_DATE DATE TO_DATE('20060305','YYYYMMDD') )

and many more combinations.

Is there a way to load "20060305" directly into the column through
sqlldr?

TIA

Jimit Shah
Amdocs Inc.


Which direct ways are you expecting apart from the *direct* ways
above, and why do you think they don't work.

--
Sybrand Bakker, Senior Oracle DBA
.



Relevant Pages

  • Re: Considering cosolodation for 120+ Oracle instances
    ... > way to simulate an increased load on a system I am going off the ... Talk to your Oracle DBA. ... Controllers. ... If you mirror everything then disk failure becomes ...
    (comp.unix.solaris)
  • Re: DBD-Oracle 1.17 gives "install_driver(Oracle) failed"
    ... "Can't load Oracle.dll" is often a symptom for a missing OCIW32.DLL. ... Oracle.dll loads OCIW32.DLL at startup, if that fails, loading Oracle.DLL fails, hence the error message. ... OCIW32.DLL is provided by the Oracle client software, newer Versions of Oracle install this DLL onlywhen you choose to install the Oracle ODBC drivers. ...
    (perl.dbi.users)
  • RE: Newline inserted?
    ... If you are on at least version 9 of Oracle, ... > Are you processing individual SQL statements (does your file contain SQL ... DBI is not your best bet to do this. ... Use SQL*Plus to load the file: ...
    (perl.dbi.users)
  • Re: Is it a good idea, dev/test/production on one box
    ... It is Oracle 9202 on RedHat Linux, 4cpu Dell computer, powerEdge, something ... Load on production is not heavy, ... What is the hardware platform and operating system ... What is the SLA for the production database. ...
    (comp.databases.oracle.server)
  • Re: Strange high load
    ... > I have a Solaris 8 machine running Oracle. ... When he imports it, it creates a high load on the machine, peaking ...
    (comp.unix.solaris)