Couple of methods,
1. Use Position instead of delimited control file
specification and use SQL to massage to the ata
For eaxmple
my_date position(1:19)
"substr(:mydate,1,10)||substr(:mydate,11)

Of course you can do this directly as
METHOD 2:

my_date position(1:10) filler,
my_time   position(11:19) filler,
my_final_date  position(1:1) ":my_date" || ":my_time"

HTH
RS
--- Stephane Faroult <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > 
> > Hi DBAs,
> > 
> > I am trying to combine 2 fields into 1 field to
> insert into a date field
> > using sql loader.
> > 
> > The csv files has the first 2 fields as follows
> > 
> > 01/01/2002,00:00:01,...,
> > 
> > Can someone help on how to combine the 1st two
> fields to insert into a
> > single date field.
> > 
> > Thanks
> > Rick
> > 
> 
> man sed ?
> 
> -- 
> Regards,
> 
> Stephane Faroult
> Oriole Software
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Stephane Faroult
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sakthi , Raj
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to