Solved

investigate ssis variable

Posted on 2011-09-30
4
276 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:huslayer
huslayer 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ms sql stored procedure 22 77
How to find duplicates in SQL Server 3 22
SQl query 19 13
SQL 2016 Setup - Connectivity Issues 4 16
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now