Then you need workflow.
We have examples here
Multiple Paths in Workflow
(http://www.sqldts.com/default.aspx?218)
"BSK" <bsk (AT) discussions (DOT) microsoft.com> wrote
Quote:
I would like to create a DTS package that will accomplish the following:
Check if a database table A has records.
If Yes go Else Stop.
Erase Replica table B.
Copy Database table A to replica table B.
I'm able to copy all records from one table to another automatically. I
would like some logic to check if Table A has records before deleting the
replica for copying. Is there anyway to do this? When Table A is blank if
deletes all records in Table B and then copies 0 records.
Any DTS logic help would be great. |