﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / query SSIS-Task-Properties using T-SQL / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Mon, 20 May 2013 15:27:02 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: query SSIS-Task-Properties using T-SQL</title><link>http://www.sqlservercentral.com/Forums/Topic1406581-392-1.aspx</link><description>Thank's a lot. I already found this table but I did not realize that the one column contains the whole package. The hint of queries built at rune time is a good one too. :-)</description><pubDate>Mon, 14 Jan 2013 07:39:16 GMT</pubDate><dc:creator>WolfgangE</dc:creator></item><item><title>RE: query SSIS-Task-Properties using T-SQL</title><link>http://www.sqlservercentral.com/Forums/Topic1406581-392-1.aspx</link><description>The SSIS package definitions are stored in msdb.dbo.sysssispackages. Because the definition is XML you can cast it to the XML data type and then operate on it using XQuery. A carefully crafted query could deliver you all the SQL Statements contained in every package. However, many times SSIS developers will use Variables and Expressions to build SQL statements at runtime so I would recommend you only view the information in the table as an initial discovery tool and not the authoritative answer as to whether something will be impacted by a change.[code="sql"]SELECT  CAST(CAST(CAST([packagedata] AS VARBINARY(MAX)) AS VARCHAR(MAX)) AS XML) AS xml_package_definition,        *FROM    msdb.dbo.sysssispackagesWHERE   CAST(CAST([packagedata] AS VARBINARY(MAX)) AS VARCHAR(MAX)) LIKE '%%';[/code]</description><pubDate>Mon, 14 Jan 2013 07:28:18 GMT</pubDate><dc:creator>opc.three</dc:creator></item><item><title>query SSIS-Task-Properties using T-SQL</title><link>http://www.sqlservercentral.com/Forums/Topic1406581-392-1.aspx</link><description>Hi there,we have several SSIS-packages on our SQL servers, usually stored in the msdb. In these packages you find "execute sql"-tasks as well as other tasks using T-SQL-statements.We have to change some tables in our database and need to know if they are used in the SSIS-packages. Unfortunately some of the packages are quite old and do not use stored procedures for data access but ad hoc queries.Is there a way to get this information without writing a C# program?I wonder if the ssis package tasks and their properties are stored somewhere in the system tables so I can query these properties using T-SQL.Thank's a lot, WolfgangE</description><pubDate>Mon, 14 Jan 2013 00:48:10 GMT</pubDate><dc:creator>WolfgangE</dc:creator></item></channel></rss>