• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

Reference a Lookup task from within a Script Component

Hi,

I am in the process of converting a DTS package into SSIS.  That DTS package has an ActiveX script that references a DTS Lookup.  The code looks something like the following:

myid = DTSLookups("GetSomeId").Execute("DTSSource(variable1, variable2)

Is it possible to have the Script Component reference a lookup task?

thanks
0
yechan
Asked:
yechan
  • 2
1 Solution
 
Jason Yousef, MSSr. BI  DeveloperCommented:
Why would you do that anyway ?!

I found this article talking about lookup inside a script component...check it it would help

http://www.sqlservercentral.com/articles/Integration+Services+%28SSIS%29/64766/
0
 
yechanAuthor Commented:
I am not married to the idea of embedding a lookup task inside the script component.  Trying to "upgrade" an existing DTS package to SSIS.  If you think there is a better way, please let me know.

thanks
0
 
Reza RadConsultant, TrainerCommented:
what are you doing in this lookup, does your requirement accomplished by regular LOOKUP TRANSFORM in the SSIS Data Flow toolbox?
if this doesn't make sense to you, could you tell us samples of your input data rows and your desired output result, and we could help you better
0
 
yechanAuthor Commented:
all,

i have replaced the DTSLookup with a SQL query call.  Wish I had more time to get this done right =)

thanks
0
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.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now