I have seen several other people with this issue but have not seen an official solution so here goes:
I have several flat files from other sources that I am importing into SQL 2008 R2. Some of these files have HEX 00 within some of the text fields. When the SSIS package encounters the HEX 00, it sees this as end of record, and imports the truncated record into my SQL table. The data owners do not know how they got in their and really do not want to change the data, just import and move on.
1) I am aware that SSIS is using the data type DT_STR which is a null terminated character string and so therein lies the problem. I tried DT_TEXT but the same problem persists (Is DT_TEXT null-terminated as well? Documentation does not say so).
2) I have been trying to use BCP but am unfamiliar with it and have not got that to work either. If someone has encountered the same problem and used BCP, please let me know the command line you used (format, etc.).
3) Is there an official solution from MS on this, especially since I have seen posts with this problem dating back to 2007?
Thank you.