I suspect my Google skills are just insufficient today, but I'm looking for a quick TSQL script that will identify all SSIS packages in the Package Store that are using a given Environment Variable Name.
For instance, when I Configure a package and look at the Paramaters page, I can choose a given Environment Variable. In the following screen shot, the environment variable I'm concerned with is named SMTP
. I want to find all packages using this environment variable so I can perform some investigation/testing before making any en masse changes.
If someone has a script readily available, I'd be grateful if you could post it, otherwise I'll post something after I code it up.
Thanks!