troubleshooting Question

SSIS Derived column formula if a column is blank then pick data from some other column last 11 digits else same column

Avatar of Robin CK
Robin CK asked on
SSISMicrosoft SQL Server
2 Comments2 Solutions148 ViewsLast Modified:
I have an MS Access formula which I want to use in SSIS package Derived column

GPN: iif(isnull([resouce GPN]),iif(Len([resource])>11,Right([Resource],11),""),[Resource GPN])

The formula reads, if "Resource GPN" column is blank then take last 11 digits of string from "Resource" column.
Srinivas Reddy

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros