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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BULK LOAD problem

Status
Not open for further replies.

pandatime

Programmer
Jan 29, 2010
92
AU
Hi,

I am trying to load a file using bulk load. It's only loading EXACTLY one-half of the rows in the file! Exactly one-half to the letter.

I'm looking at the data in the file, but there NO difference between the first half and the second half whatsover.

What could be the problem?

Here is my bulk load stmt:

exec('
BULK INSERT
myTable
FROM ''E:\myFile.txt''
WITH
(
FORMATFILE = ''E:\format.fmt'',
TABLOCK,
ERRORFILE = ''E:\error.txt''
)')

Thanks
 
Nevermind...! Figured out what the problem was. doh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top