What about something like this (in your control file) :

DummyDate           varchar2(01:09),
UserName              varchar2(10:17),
BirthDate                date(18:21) "TO_DATE( :DummyDate || :BirthDate,
'RRRR-MM-DD HH24:MI' )"

I can't test it here at work, but it might prompt some ideas ...

Regards
Oweson Flynn
------------------------------------------------------------------
Certified Oracle DBA
The Flynn Consultancy
Tel: 082-600-7-006
Fax: (011) 782-9313
EMail: [EMAIL PROTECTED]
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 1:16 PM


> Hi
>
> I've got the following entries in a sql*Loader import file
> ---------------------
> 2000-02-25JOHN   0608
> 2000-02-28PETE   0718
> ---------------------
> 123456789012345678901
>
> Char 1 to 9 and 18 to 21 make up the date and time, ie '2000-02-25 06:08'
> ('RRRR-MM-DD HH24:MI')
>
> I need to import this information into a table with two columns,
"USERNAME"
> (1st) & "BIRTHDATE" (2nd), but I'm struggeling using Sql*Loader to
> concatenate the two fieds.
>
> create table USER_BIRTHDATES
> (USERNAME   varchar2(20),
>  BDATE     date);
>
> Any ideas.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Johan Locke@i-Commerce Services
>   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).
>



********************************************************************

This message may contain information which is confidential and subject to legal 
privilege. If you are not the intended recipient, you may not peruse, use, 
disseminate, distribute or copy this message. If you have received this message in 
error, please notify the sender immediately by email, facsimile or telephone and 
return and/or destroy the original message.

*******************************************************************
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Oweson Flynn
  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