TrailerTrash
Programmer
I am importing a flat file and would like to automate the procedure using bcp.
When I bring the file in using Data Transformation Services I get 18,960 records. No errors, all the records.
Using bcp I get the above error after it successfully copies 108,917 records. There is no problem with my data file - I examined it w/ Word and found no goofy characters surrounding the last good record. It is rebuilt everyday from a mainframe. Yesterday it stopped at a slightly different spot.
Changing the batch size doesn't help - It always stops at the same place. Changing Max Errors doesn't help either.
I copied the flat file to my local drive and tried again. It still errors out at the same record.
MSoft Technet says you can get the error w/ an input file of 4GB, mine is only 21MB.
The Transaction Log file isn't full either. It's got plenty of space.
I've run out of ideas.
When I bring the file in using Data Transformation Services I get 18,960 records. No errors, all the records.
Using bcp I get the above error after it successfully copies 108,917 records. There is no problem with my data file - I examined it w/ Word and found no goofy characters surrounding the last good record. It is rebuilt everyday from a mainframe. Yesterday it stopped at a slightly different spot.
Changing the batch size doesn't help - It always stops at the same place. Changing Max Errors doesn't help either.
I copied the flat file to my local drive and tried again. It still errors out at the same record.
MSoft Technet says you can get the error w/ an input file of 4GB, mine is only 21MB.
The Transaction Log file isn't full either. It's got plenty of space.
I've run out of ideas.