Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Converting "MM/DD/YYYY" in an inported file to a valid Oracle date.

Re: Converting "MM/DD/YYYY" in an inported file to a valid Oracle date.

From: AMARENDRA B NETTEM <nettama_at_charlie.cns.iit.edu>
Date: 1998/02/02
Message-ID: <34D65289.A0720038@charlie.cns.iit.edu>#1/1

Rylandda wrote:

> We are interested on knowing how to convert a string character with a format
> of "MM/DD/YYYY" that is being imported from an external source into a valid
> Oracle date field when running SQL*LOADER. Is there a function or a routine
> we could use in the control file?

LOAD DATAINFILE '........'
INTO TABLE X
(
 column_name DATE "MM/DD/YYYY'
 )

Hope this helps

AMARENDRA
Oracle DBA

--
*****************************************************************
AMARENDRA B NETTEM
Oracle Certified DBA (OCP)
Whittman-Hart Inc.,
311 South Wacker Drive, Suite 3500
Chicago, IL 60606.

Residence:
-----------
5039 N E River Road,
Apt. 1A
NORRIDGE, IL 60656


Ph.No. (708) 583 9870 (H)
       (312) 913 6758 (W)

 E-mail:nettama_at_charlie.cns.iit.edu,
        anettem_at_whittman-hart.com

Homepage: http://www.iit.edu/~nettama

****************************************************************
Opinions are mine and do not necessarily reflect those
of Whittman-hart Inc.
Received on Mon Feb 02 1998 - 00:00:00 CST

Original text of this message

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