dbTalk Databases Forums  

Newbie help: conditional delete as first step?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Newbie help: conditional delete as first step? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
steve
 
Posts: n/a

Default Newbie help: conditional delete as first step? - 09-15-2004 , 10:39 AM






I have a DTS job that copies a very large(slow) view from our HR
database to a table called "hr" on another server. A bunch of our apps
need to use this hr table to do joins so I have a second DTS jobs that
copies the "hr" table to other databases.

Occasionally, for reasons I can't yet pin down, I get an empty "hr"
table because the DTS job deletes first and copies second.

Is there any way for me to check if this table is empty before I copy
it to the other databases?

I checked out sqldts.com and the only reference I could find was a
check to see if a file existed.

Any help GREATLY appreciated.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.