Solved

investigate ssis variable

Posted on 2011-09-30
4
288 Views
Last Modified: 2013-11-10
I have a big and complex SSIS package that I need to modify. One of my execute sql task is passing the value of the variable User::strDocStatus as parameter to execute an sproc. I need to find out where the value of this variable is getting set. It is too time consuming to open each sql task and check the result set, and also open all script tasks to see if it is setting the value of this variable.

Please let me know if there is a more efficient way to know this.

Thanks,

Deep
0
Comment
Question by:patd1
4 Comments
 
LVL 39

Assisted Solution

by:lcohan
lcohan earned 167 total points
ID: 36894274
If you Export the SSIS package as a DTSX file you can open that file and do a text search on that variable name as the DTSX is just an XML file.
0
 
LVL 21

Assisted Solution

by:Jason Yousef, MS
Jason Yousef, MS earned 167 total points
ID: 36894506
In a perfect world, the variable should has a scope which represents which task it belongs to, check if that's your case and you'll be lucky then.. :) var
0
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 166 total points
ID: 36895456
Yes,

Just open your package in BIDS and right click on package and go to code. It will open up a XML file. in that you can search the variable name.
0
 

Author Closing Comment

by:patd1
ID: 36911703
Great! Thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question