Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Load Pipe delimited data with other special characters

$
0
0

Hello SSIS experts,

I am trying to import a Flat File (Pipe delimited) to SQL Server 2016 database table and getting the following error. I tried using the Import/Export wizard as well as a SSIS package. But, I couldn't figure out the issue.

The "Source - data_txt.Outputs[Flat File Source Output].Columns[CODE_DESC]" failed because truncation occurred, and the truncation row disposition on "Source - data_txt.Outputs[Flat File Source Output].Columns[CODE_DESC]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.

Upon trying to check the length of this particular column record in the flat file, its length is only 106 characters followed by another column with the pipe delimiter. And this particular column in my database table has a datatype of VARCHAR(255). Could someone please help me with what else should be looked at?

Just an FYI, this particular CODE_DESC column has other characters like " (double quotes). So, I specified the same in the Text Qualifier in case if you're wondering. 

Please let me know if you need more information on this to help me.

Thanks!


Known is a DROP, Unknown is an OCEAN.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>