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

血红的双手。 提交于 2019-12-06 15:54:07

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/20746230/how-to-insert-a-cloumn-with-more-than-255-characters-to-excel-in-ssis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!