Home » RDBMS Server » Server Utilities » HELP! sql*loader control file - date formatting
HELP! sql*loader control file - date formatting [message #73940] Thu, 05 August 2004 17:13 Go to next message
Vanessa
Messages: 5
Registered: October 2001
Junior Member
Hi -

I'm in desparate need of some help with my control file for SQL*Loader.  I'm loading data into a date field and it's giving me an error that I'm trying to insert a non-numeric value into a numeric field.  I also need to specify to make the field null if there's no value for the date field.  Here's what I have and it say's it's missing a comma:

PROG_START_DT "to_date(:PROG_START_DT, 'M/D/YYYY H:MM:SS') NULLIF PROG_START_DT=BLANKS",

PLEASE HELP!

Thanks!
Re: HELP! sql*loader control file - date formatting [message #73945 is a reply to message #73940] Sat, 07 August 2004 17:04 Go to previous message
Barbara Boehmer
Messages: 9097
Registered: November 2002
Location: California, USA
Senior Member
prog_start_dt date "mm/dd/yyyy hh24:mi:ss" nullif prog_start_dt=blanks
Previous Topic: questions and answers on oracle 9i sql
Next Topic: Pro*C compiler
Goto Forum:
  


Current Time: Wed Jul 03 10:42:43 CDT 2024