﻿<?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  / How to set the condition based on Data flow task? / 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>Wed, 19 Jun 2013 10:20:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to set the condition based on Data flow task?</title><link>http://www.sqlservercentral.com/Forums/Topic1401812-147-1.aspx</link><description>nice one, glad to be of help.</description><pubDate>Wed, 02 Jan 2013 08:28:10 GMT</pubDate><dc:creator>Terry300577</dc:creator></item><item><title>RE: How to set the condition based on Data flow task?</title><link>http://www.sqlservercentral.com/Forums/Topic1401812-147-1.aspx</link><description>[quote][b]Terry300577 (1/2/2013)[/b][hr]before each load of data set a variable say (RowsLoaded) to -1 or some arbitrary value then use a rowcount and assign the value to the variable when loading your data and after the load on the control flow use a expression and condition to test for success and the variable being &amp;gt; 0 then action the update.hope this helps guide you.I know it is not a fully detailed explanation so if you need any more help let me know.[/quote]Thank you so much Terry...It works  :-)</description><pubDate>Wed, 02 Jan 2013 07:43:53 GMT</pubDate><dc:creator>Charmer</dc:creator></item><item><title>RE: How to set the condition based on Data flow task?</title><link>http://www.sqlservercentral.com/Forums/Topic1401812-147-1.aspx</link><description>before each load of data set a variable say (RowsLoaded) to -1 or some arbitrary value then use a rowcount and assign the value to the variable when loading your data and after the load on the control flow use a expression and condition to test for success and the variable being &amp;gt; 0 then action the update.hope this helps guide you.I know it is not a fully detailed explanation so if you need any more help let me know.</description><pubDate>Wed, 02 Jan 2013 07:02:35 GMT</pubDate><dc:creator>Terry300577</dc:creator></item><item><title>How to set the condition based on Data flow task?</title><link>http://www.sqlservercentral.com/Forums/Topic1401812-147-1.aspx</link><description>Hi Friends,              I have a scenario that i am loading data into a table. After that i am getting the maximum value of the primary key and i will update into a Counter table using Execute SQL task. My need is if the data flow task does not insert any records it should not go to the next joined Execute SQL task. So how can i set the condition?  please help me friends. Any suggestions would be really appreciated.</description><pubDate>Wed, 02 Jan 2013 06:37:03 GMT</pubDate><dc:creator>Charmer</dc:creator></item></channel></rss>