SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Extracting metadata from SSIS packages


Extracting metadata from SSIS packages

Author
Message
Idris_Arslanian
Idris_Arslanian
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 45
So I was just assigned an interesting task by my senior DBA to look into the SSIS packages installed to our prod SSIS box and pull relevant metadata in order to document some older packages. To wit; I need to find which stored procedures are used in the packages. I would prefer not to open the packages individually and would optimally like to look into some sort of SSIS summary tables to compile queries to get this information. Is this possible? I know the packages are stored in MSDB, via XML, but I'm not finding the tables where I might be able to use XQuery to get the data.
Paul_J
Paul_J
Old Hand
Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)Old Hand (311 reputation)

Group: General Forum Members
Points: 311 Visits: 637
I know there is a packagedata column or something in the dbo.sysdtspackages90 system table in the msdb database. It's binary I believe.

Not sure how to do what you want other than by loading the package into memory using the SSIS API using .NET code, saving it out to file somewhere, and examining the dtsx file since it's XML afterall.
Phil Parkin
Phil Parkin
SSCoach
SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)

Group: General Forum Members
Points: 18997 Visits: 20461
You might find this link interesting:

http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/77ebba39-2dd7-4c5c-bd97-6c6d9e5ca2f5


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
bbrewer 62909
bbrewer 62909
Valued Member
Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)Valued Member (51 reputation)

Group: General Forum Members
Points: 51 Visits: 32
this kind of impact analysis of SPROCS used by SSIS Packages is something we have a product for.
You are welcome to try it for yourself.

Another option is to pull this metadata via C# and the API's for SSIS, not a trivial task, but doable.

here is our link if you are interested to see how we do it.

http://www.infolibcorp.com
Gianluca Sartori
Gianluca Sartori
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10050 Visits: 13351
bbrewer 62909 (11/5/2014)
this kind of impact analysis of SPROCS used by SSIS Packages is something we have a product for.
You are welcome to try it for yourself.

Another option is to pull this metadata via C# and the API's for SSIS, not a trivial task, but doable.

here is our link if you are interested to see how we do it.

http://www.infolibcorp.com


Do you understand that this post is 5 years old?

--Gianluca Sartori

How to post T-SQL questions
spaghettidba.com
@spaghettidba
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search