问题
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