How to insert a cloumn with more than 255 characters to excel in SSIS

[Originally posted by]: http://stackoverflow.com/questions/20746230/how-to-insert-a-cloumn-with-more-than-255-characters-to-excel-in-ssis

I have a table column with length more than 255 characters and I need to insert this value into excel. When ever the column value exceeds 255 characters, I am getting “Excel Destination [15]: Truncation may occur due to inserting data from data flow column “Copy of Column 0” with a length of 500 to database column “column1” with a length of 255.” error at excel destination component.

Please help me to find a way to insert a column with more than 255 characters into an excel.

shareedit

I’d imagine you can overwrite the setting through the Advanced Editor in SSIS.

Right Click the Excel Destination > Show Advanced Editor > Input and Output Properties

Excel Destination Input > External Columns > Column 1 (Change Length to be 500).

This should stop the error.

shareedit
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s