Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 How to stop package

Author  Topic 

turk
Starting Member

5 Posts

Posted - 2006-05-25 : 07:00:27
I've written a DTS package using SQL Server 2000. I would like to add a first step which will a SQL Task will count the number of rows in a table. If the number of rows = 0, I would like to stop the package. If it is 1 or more I want to contineu. Does anyone know how to do this?

Thanks.

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-05-28 : 21:51:36
use workflow, if 1 add more steps, if 0 then no more steps

--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -