In SSIS, I try to load data from a flat file. The flat file have fixed width columns, but some column are not present in a row (a column can have a CRLF, which must be a new line) like this
a b c
the first rowok<CRLF>
iu jjrjdd<CRLF>
this is a newline<CRLF>
How I can have exactly the same number of line and exact data in my output?
I setup a flat file connection, of ragged right type.
In this sample, row 1 is correctly retrieve, but for row 2, it didn't recognize CRLF, and put in b column all the 3rd row.
Workaround
DT_STR
Tab delimited columns
Fixed width columns
You can also achieve this using derived column transformation