﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx<description>If you import Data from a specified Source periodically in an Integration Service Project and you need to update existing data in the SQL Destination the best workaround for this is as following: First define a Source in the data flow e.g. Ole DB Source</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#1179863<pubdate>Fri, 06 Feb 2015 11:53:59 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:1179863</guid><dc:creator>Vipin Jha</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Wonderful article.&lt;/p&gt;
&lt;p&gt;I am new to ssis , I dont see destination table in above code.&lt;/p&gt;
&lt;p&gt;I am thinking in terms of dynamic , i am maintaiong the sql command in filemaster table. i have 100 of sql source query which will be run every time on the basis og input.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=1179863" width="1" height="1"&gt;</description></item><item><title>In an SSIS package, how do you insert master-detail records? | Yocum Answers</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#1166330<pubdate>Wed, 10 Dec 2014 18:16:49 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:1166330</guid><dc:creator>In an SSIS package, how do you insert master-detail records? | Yocum Answers</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;In an SSIS package, how do you insert master-detail records? | Yocum Answers&lt;/p&gt;
&lt;img src="http://developers.de/aggbug.aspx?PostID=1166330" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#525125<pubdate>Wed, 23 Jan 2013 09:39:33 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:525125</guid><dc:creator>Hanna</dc:creator><description>&lt;p&gt;I have a table and I need to update two empty columns as below:&lt;/p&gt;
&lt;p&gt;Column1 &amp;nbsp;Column2&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/p&gt;
&lt;p&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/p&gt;
&lt;p&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/p&gt;
&lt;p&gt;[End of table rows]&lt;/p&gt;
&lt;p&gt;So mainly.. it adds values to column2 from 1 and maximum of 5 , if it exceeded 5 , then Column 1 is to be incremented by 1 and starts all over again in column 2 from 1 to 5.&lt;/p&gt;
&lt;p&gt;I am using a script component as transofrmation with an OLEDB source that reads these two columns (have null values) and then another OLEDB with the same table to be updated with the new transofrmed values.&lt;/p&gt;
&lt;p&gt;PLEASE HELP !&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=525125" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#255012<pubdate>Thu, 01 Dec 2011 13:54:44 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:255012</guid><dc:creator>Uitvaartverzekering vergelijken</dc:creator><description>&lt;p&gt;I am so thankful for the brilliant information you shared in this page.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=255012" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#255014<pubdate>Mon, 21 Nov 2011 09:10:40 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:255014</guid><dc:creator>Nishil</dc:creator><description>&lt;p&gt;Even I am amazed if there is no Insert/Update component.&lt;/p&gt;
&lt;p&gt;I have noticed majority of the developers using Scripts and finishing off the whole logic in it. I am not a big fan of scripts.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=255014" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#12864<pubdate>Thu, 24 Jun 2010 19:15:51 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:12864</guid><dc:creator>Allan Carr</dc:creator><description>&lt;p&gt;I am simply amazed that SSIS does not have a component to handle one of the most common tasks in data warehousing &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=12864" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#12666<pubdate>Mon, 07 Jun 2010 20:14:44 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:12666</guid><dc:creator>s</dc:creator><description>&lt;p&gt;I have changed exclusion group to 1&lt;/p&gt;
&lt;p&gt;By default Synchronisation id is taken is &amp;#39;input 162&amp;#39;&lt;/p&gt;
&lt;p&gt;But, It&amp;#39;s giving error for Row.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=12666" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#12612<pubdate>Wed, 05 May 2010 15:28:56 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:12612</guid><dc:creator>arun </dc:creator><description>&lt;p&gt;super&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=12612" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#10497<pubdate>Wed, 24 Feb 2010 11:54:12 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:10497</guid><dc:creator>Governor</dc:creator><description>&lt;p&gt;Greetings and Salutations,&lt;/p&gt;
&lt;p&gt; I am having the trouble stated above which is that the &amp;quot;DirectRowToOutputInsert()&amp;quot; is NOT a member of the component.&lt;/p&gt;
&lt;p&gt;Now I have followed your instructions, the exclusion group is 1, the out is synch&amp;#39;d with the input ID, my input columns are identified.&lt;/p&gt;
&lt;p&gt;So what else can I be missing? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: the script is a tranform &lt;/p&gt;
&lt;p&gt;Many Thanks in advance &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=10497" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#10325<pubdate>Fri, 12 Feb 2010 07:27:02 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:10325</guid><dc:creator>Satish</dc:creator><description>&lt;p&gt;Hi Nadine,&lt;/p&gt;
&lt;p&gt;How to update the data in sql server table in a DFlow?&lt;/p&gt;
&lt;p&gt;I am using same table as source and destination,and i want to update the table with &amp;nbsp;a new column data.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=10325" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#4638<pubdate>Wed, 25 Mar 2009 22:06:06 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:4638</guid><dc:creator>Pankaj Sharma</dc:creator><description>&lt;p&gt;Hi Nadine,&lt;/p&gt;
&lt;p&gt;Thanks so much, that cleared up quite a few wrinkles.&lt;/p&gt;
&lt;p&gt;Pankaj&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=4638" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#4530<pubdate>Fri, 20 Mar 2009 08:50:10 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:4530</guid><dc:creator>Nadine Storandt</dc:creator><description>&lt;p&gt;Hey Pankaj, &lt;/p&gt;
&lt;p&gt;I think the source make no changes to this data flow task. &lt;/p&gt;
&lt;p&gt;here are some interesting links for your issue: &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://decipherinfosys.wordpress.com/2008/07/28/ssis-importing-data-from-a-text-file-using-a-package/"&gt;decipherinfosys.wordpress.com/.../ssis-importing-data-from-a-text-file-using-a-package&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/Q_24192307.html"&gt;www.experts-exchange.com/.../Q_24192307.html&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=4530" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#4518<pubdate>Thu, 19 Mar 2009 17:14:10 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:4518</guid><dc:creator>Pankaj Sharma</dc:creator><description>&lt;p&gt;Hi Nadine,&lt;/p&gt;
&lt;p&gt;Will there be any changes if the source instead of a db is a flat file?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pankaj&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=4518" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#3734<pubdate>Fri, 02 Jan 2009 06:59:16 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:3734</guid><dc:creator>Jams</dc:creator><description>&lt;p&gt;Interesting approach to the same issue - &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://vsteamsystemcentral.com/cs21/blogs/applied_business_intelligence/archive/2007/05/21/ssis-design-pattern-incremental-loads.aspx"&gt;vsteamsystemcentral.com/.../ssis-design-pattern-incremental-loads.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=3734" width="1" height="1"&gt;</description></item><item><title>re: How to Insert or Update records in SSIS DataFlow</title><link />http://developers.de/blogs/nadine_storandt/archive/2006/12/07/How-to-Insert-or-Update-records-in-SSIS-DataFlow.aspx#1877<pubdate>Mon, 14 Apr 2008 06:21:31 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:1877</guid><dc:creator>MUKUND</dc:creator><description>&lt;p&gt;Hi Nadine&lt;/p&gt;
&lt;p&gt;Thanks Very Much for your help. Its working for me.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=1877" width="1" height="1"&gt;</description></item></channel></rss>