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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Length Validation Before Truncat Error
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

154 Posts

Posted - 10/17/2012 :  10:52:34  Show Profile  Reply with Quote
I have about 30 columns that I need to check the length on to ensure they are is less than or equal to 50. I know how I can achieve this, but is there a quick and easy was to do this without having to create derived columns or conditions on each and every column? Each record should log with an error message if truncation may occur (but i don't want to get to the actual insertion of the data at the table-level for this to fail and log).

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 10/17/2012 :  23:31:06  Show Profile  Reply with Quote
SSIS gives you warning by default if length of column falls below target table column length

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000