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)
 Derived Column Help

Author  Topic 

Sonu619
Posting Yak Master

202 Posts

Posted - 2011-02-15 : 21:32:50
Here is the sample data
ID,ADDRESS1,ADDRESS2,ADDRESS3
1,BLANK,1458 HIGH AVE,LOS ANGLES CA 92778
2,BLANK,ORANGE COUNTY CA 92334, BLANK
3,IRVINE CA 98776,BLANK,BLANK

Here is the situation, I have 3 different column CITY,STATE,ZIP in target and i want to parse address.
First I want to see Address3 if it blank, try Address2 if it is blank, try Address3. I know we can use Derived column transformation to fix this problem in SSIS.

Please help me out with expression in SSIS. Thanks .
   

- Advertisement -