September 17, 2013 at 3:26 am
Hi,
Within a SQL job I would like to to get the information from the Data sources tab, so for each step I would like to have the following information:
Connnection Manager
Description
Connection String
Is this possible?
Thanks
September 17, 2013 at 3:38 am
You mean for documentation purposes?
You'll need to parse the SSIS package to get that information (a .dtsx file is just a XML file).
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 17, 2013 at 4:08 am
Hi,
Basically I need to know which of these jobs are connecting to which servers when the job step runs a T-SQL script or when running a ssis package?
Is this possible and how?
Thanks
September 17, 2013 at 4:39 am
As I said, for SSIS package you'll need to parse the XML file to get the connection manager info.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 17, 2013 at 4:51 am
How do you do this?
Would you physcially have to open each ssis package in Visual Studio and then right click on the dtsx and then select "View Code"
September 17, 2013 at 5:12 am
No. If your SSIS packages are stored in the MSDB database, you can query them using XML functions.
Here's a starting point:
Collecting information about your SSIS packages
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 17, 2013 at 6:52 am
Thanks I'll have a look into this
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply