Can the SSIS look up function be used for complex join or lookup?

Hi,

I have used tsql join in my ETL transformation, due to complexity and easy maintainence of my ETL script. I understand that SSIS look up function is good in terms of lookup for surrogate key from dimension table.

However, I got complex business rule where I had to translate my lookup table with customize view such as use of select statement to filter the row I need.

What is the best approach in terms lookup tsql or SSIS?

Thanks in advance
keplanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
Jason Yousef, MSSr. BI  DeveloperCommented:
From my experience, just use the SSIS lookup, when you really need to, otherwise relay on the SQL engine to do the join and lookup for you.

Anyway The lookup in SSIS has 3 modes,

1-no cache  -- slower not case sensitive
2-Partial cache - case sensitive, will cache your values as it match.
3-Full cache   - case sensitive  - Faster - will cache your lookup table upfront.

You might also restrict the cache size if you'll use partial or full modes.. read this article about lookups...

http://blogs.msdn.com/b/sqlperf/archive/2007/04/24/getting-optimal-performance-with-integration-services-lookups.aspx
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.