Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy problem

Status
Not open for further replies.

stoolpigeon

Programmer
Aug 1, 2001
309
US
I am trying to copy a delimited text file into a table using the Copy command.

The problem is that the copy fails every time the process hits a date field that is empty. I get the error:

copy: line 154, Bad date external representation '' lost synchronization with server, resetting connection

I have a default value for all of my date fields. I could go into the file and add dates but it has over 900,000 records and I'd rather not.

Is there a way around this, or am I going to need to use some other method to import the data into the tabel?

thanks,
Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top