Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 truncation error in ssis package

Author  Topic 

jassie
Constraint Violating Yak Guru

332 Posts

Posted - 2012-03-22 : 17:52:19
In a ssis 2008 r2 package that I want to write, there is one column that I am getting truncation errors on. This is a description column that is supplied by the customer. The length of the column can be any length that excel will allow. (Excel is the way I will obtain the data).

What do you suggest I do in SSIS to avoid this truncation error? I do not think calling the column size varchar(max) or nvarchar(max) will solve the problem.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-03-22 : 21:21:49
why? if you're not certain of length you can only go for BLOB types like varchar(max)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -