﻿<?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 / SQL Server 2005 Integration Services  / how to stop the package based on a condition? / 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, 19 May 2013 12:03:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: how to stop the package based on a condition?</title><link>http://www.sqlservercentral.com/Forums/Topic1426138-148-1.aspx</link><description>For Next Step execution based on result from SP:-Double click on the Connection Arrow as success and constraint as follows @SSISVariable==1Just leave with above condition if condition not satisfied it completes the Package &amp; gives success results.If the condition validated it goes to next Task .</description><pubDate>Mon, 04 Mar 2013 02:59:57 GMT</pubDate><dc:creator>Pulivarthi Sasidhar</dc:creator></item><item><title>RE: how to stop the package based on a condition?</title><link>http://www.sqlservercentral.com/Forums/Topic1426138-148-1.aspx</link><description>You are probably looking for constraint expression.Check here [url]http://blogs.msdn.com/b/mattm/archive/2006/10/30/using-expression-based-constraints.aspx[/url]</description><pubDate>Mon, 04 Mar 2013 02:46:52 GMT</pubDate><dc:creator>joeroshan</dc:creator></item><item><title>how to stop the package based on a condition?</title><link>http://www.sqlservercentral.com/Forums/Topic1426138-148-1.aspx</link><description>Hi,Based on the value of a variabale getting set, I want to stop my SSIS package (successfully) without going to next tasks within the package. Can this be done? Please provide your inputs.Example: I have a stored procedure getting executed in SSIS execute SQL task. The value of output parameter of this stored procedure is getting stored in a SSIS varaible. If the value of this variable comes out as 1 then package should proceed further but if it gets set to 0, then package should stop there itself.Regards,Sachin</description><pubDate>Mon, 04 Mar 2013 02:38:34 GMT</pubDate><dc:creator>Sachin Vaidya</dc:creator></item></channel></rss>