[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • 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 RadCommented:
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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