From: l120bj@aol.com (L120bj)
Subject: Re: Converting "MM/DD/YYYY" in an inported file to a valid Oracle date.
Date: 1998/02/02
Message-ID: <19980202185001.NAA12985@ladder02.news.aol.com>#1/1
References: <6b4i1q$luu@usenet41.supernews.com>
X-Admin: news@aol.com
Organization: AOL, http://www.aol.co.uk
Newsgroups: comp.databases.oracle.misc



>Subject: Converting "MM/DD/YYYY" in an inported file to a valid Oracle date.
>From: "Rylandda" <custserv@bodine-assembly.com>
>Date: 2/2/98  1:29PM  GMT
>Message-id: <6b4i1q$luu@usenet41.supernews.com>
>
>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?
>
>
>
>
>
>
>
>
>

You could use something along the lines of
DATE_FIELD POSITION(1:10) CHAR TO_DATE(:DATE_FIELD,'MM/DD/YYYY')
This will, however, mean that you cannot use SQL*LOADER in direct path mode
HTH
  Rob


