![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Yes You can 1. Use ADO in an ActiveScript task to find out how many rows are in the table and based on this determine whether to proceed. Multiple Paths in Workflow http://www.sqldts.com/default.aspx?6,103,218,7,1 2. Use an ExecuteSQL task to do SELECT COUNT(*) and assign value to a global variable. You then test the value of the global variable and take action as 1. 3. If you want to test the recordcount before you DataPump the table then simply carry on with the datapump and test in an ActiveS Script task the RowsComplete property of the datapump in an Active Script task. -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org . |
![]() |
| Thread Tools | |
| Display Modes | |
| |