I have a flat file that has over 50,000 records. When I import that file into my table I'm only able to extract 26,612 rows.
- I'm using a Flat File connection manager
- The format for this connection is Ragged Right
- There are about 25 columns, or so
- My Data Flow Source is a Flat File (Imagine that!)
I appreciate any ideas that you may have.
Thanks!!

Not able to extract all records from a flat file
GGavars
Ragged right, by (our) definition, means that only the last column is not fixed width.
The Flat File connection manager expects well-formed flat files with all the columns you define present in all rows. There are a number of workarounds for flat files which do not conform to that expectation.
Donald
justme2005
Jillaint
Toomy Ling
I was able to find the answer. Don't let this happen to you.
This is a fixed width document and the last column parameter was set too high and overflowed into the next row. Therefore, only every other row was being extracted and added to the table. This may sound odd, but by since each of my rows only went to character 297, I was able to adjust my last column from 309 to 297 and now it works.
I hope this makes sense!
Thank you for you help!
Matthew Stoecker
What errors are you seeing
Donald
Bob Bojanic - MSFT
Believe it or not, I received no errors. But when I looked at the table, there are only 26,xxx records,(whatever number I mentioned previously.) In fact, I didn't even know there was a problem for the first three months!
What is your opinion