﻿<?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 2005 / Business Intelligence  / Access tasks in Data Flow Task dynamically / 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>Sun, 26 May 2013 00:44:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>[quote][b]Evil Kraig F (3/4/2013)[/b][hr]There are things you can change easily in an SSIS package dynamically.  The easy way to tell if you can is if they're in the list of properties under expressions for the source/destination or the datasource itself.There are things you CAN'T change easily in an SSIS package dynamically, one of which is the metadata of the dataflow.  The dataflow uses internal IDs based on the object that 'sources' the column to determine its type, value, and other items.  There are third party objects out there that can allow you to have some variable source constructions, but even they are limited to having the same output results into the metadata (at least for used columns).SSIS isn't meant to be that dynamic.  In the same way that you need to write dynamic T-SQL to allow for major changes to queries, you need to write dynamic packages to account for variable metadata.  This is nowhere near as easy as dynamic SQL however, and will require a pretty solid background in coding.[/quote]I am able to update column names.</description><pubDate>Wed, 06 Mar 2013 11:52:18 GMT</pubDate><dc:creator>Hardy21</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>There are things you can change easily in an SSIS package dynamically.  The easy way to tell if you can is if they're in the list of properties under expressions for the source/destination or the datasource itself.There are things you CAN'T change easily in an SSIS package dynamically, one of which is the metadata of the dataflow.  The dataflow uses internal IDs based on the object that 'sources' the column to determine its type, value, and other items.  There are third party objects out there that can allow you to have some variable source constructions, but even they are limited to having the same output results into the metadata (at least for used columns).SSIS isn't meant to be that dynamic.  In the same way that you need to write dynamic T-SQL to allow for major changes to queries, you need to write dynamic packages to account for variable metadata.  This is nowhere near as easy as dynamic SQL however, and will require a pretty solid background in coding.</description><pubDate>Mon, 04 Mar 2013 12:55:09 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>[quote][b]Koen Verbeeck (11/16/2012)[/b][hr]I know you can change the source and destination tables dynamically, but I have no clue how you would handle the changing metadata.[/quote]I am able to modify table names dynamically in data flow tasks. But, I need to change destination column names dynamically. How can we do that?</description><pubDate>Mon, 04 Mar 2013 12:40:08 GMT</pubDate><dc:creator>Hardy21</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>I know you can change the source and destination tables dynamically, but I have no clue how you would handle the changing metadata.</description><pubDate>Fri, 16 Nov 2012 01:34:27 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>I am able to add the newly added columns in my package via C# but am not able to map the columns using my reference table in DB. Also here my Source and Destination column names can be different.</description><pubDate>Fri, 16 Nov 2012 01:32:45 GMT</pubDate><dc:creator>revathiganesh55</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>That's a bit out of my comfort zone.I know that some people regenerate the package dynamically every time, so that when it runs the dataflow is mapped as it should be.But modify an existing package on the fly? I don't know.</description><pubDate>Fri, 16 Nov 2012 01:28:33 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>Thanks for the reply. But can't we do the column mapping in C# and use Pipeline dlls?</description><pubDate>Fri, 16 Nov 2012 01:25:15 GMT</pubDate><dc:creator>revathiganesh55</dc:creator></item><item><title>RE: Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>Out of the box, SSIS doesn't support changing metadata.There are some 3rd party products, such as Dataflow+ of CozyRoc that can do this.If you need to stay with native SSIS, then you'll need to resort to scripting.</description><pubDate>Fri, 16 Nov 2012 00:22:04 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>Access tasks in Data Flow Task dynamically</title><link>http://www.sqlservercentral.com/Forums/Topic1385464-147-1.aspx</link><description>Hi friends,I have a package where the number of columns in DB tables could be changed. I want to change the meta data of data flow task dynamically. Also the mapping details will be in a seperate table as the source and destination column names need not be same.[b]I am able to show the newly added columns in the package but I am not able to map the columns in Data Flow Task.[/b]Could anyone please help me on the same.Thanks and Regards,Reva</description><pubDate>Thu, 15 Nov 2012 22:10:08 GMT</pubDate><dc:creator>revathiganesh55</dc:creator></item></channel></rss>