August 23, 2018 at 2:14 pm
Is it possible to find out names of SSIS packages scheduled via Agent that that execute a specific stored procedure by Stored Procedure name?
Likes to play Chess
August 23, 2018 at 2:34 pm
VoldemarG - Thursday, August 23, 2018 2:14 PMIs it possible to find out names of SSIS packages scheduled via Agent that that execute a specific stored procedure by Stored Procedure name?
Not sure what Agent has got to do with this, but you can just search the package XML for the name of your proc.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
August 23, 2018 at 3:03 pm
True. but there are 1100 packages on 3 prod servers... 🙂
Likes to play Chess
August 23, 2018 at 3:14 pm
it may not be as easy as you would like.
It will all depend on how your packages are build, executed and where they are stored.
Storage
- SSISDB
- syspackages
- filesystem
Execution
- Executed directly from sql job (e.g. ssis step)
- Through a stored procedured (directly or cmdshell call)
- Command line call (.cmd or powershell)
- called from another SSIS package
--- SSIS package name hardcoded on parent package
--- SSIS package name from config table/file
SP Naming location
- from config table
- from config file
- hardcoded on package
All the above can affect the amount of work you may (or not) have to identify what you need.
August 23, 2018 at 3:29 pm
VoldemarG - Thursday, August 23, 2018 3:03 PMTrue. but there are 1100 packages on 3 prod servers... 🙂
Heh... Phil wasn't suggesting a manual search. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2018 at 8:28 am
Some of the packages are under File System and most of them are under MSDB.
Likes to play Chess
August 24, 2018 at 8:45 am
SSIS packages are contained in .dtsx files and the underlying data format is XML. You should see things like referenced database objects and T-SQL commands in clear text. Other protected properties like passwords are encrypted. So, you can use your version control system or a text search tool to scan across all the SSIS project files looking for object names.
If you don't have access to the SSIS source project files, then you can export them from the SSISDB catalog to a local folder. From SSMS, drill down on 'Integration Services Catalogs', highlight a project, right-click and then choose option 'Export'. You'll have to do this for each SSIS project, or google a PowerShell script to automate the process.
If someone is looking for a cool side project, developing a SSMS add-in to search the SSISDB catalog, something similar to RedGate SQL Search, would make you a community hero.
"Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho
August 28, 2018 at 2:12 pm
THANK YOU! great info.
Likes to play Chess
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply