I am creating a process that will load a fixed width file into SQL Server. I have used the BULK INSERT and a format file and that works in most cases.
For 2 of my files, most of the rows are consistent, but in a few files, randomly there is a blank row that does not have the full length so it fails.
I am fine with skipping the row, but it does not seem to have a command to skip blank rows. I am fine with ignoring the failure, the default is of course 10 rows.
I really do not have any reasonable way of knowing how many, but I tried setting the MAXERRORS to a really large number (100,000), but it seems to allow 27 errors to ignore but no more.
Is there something I am missing about the MAXERRORS?
Any other ideas?