dbTalk Databases Forums  

Re: how to delete all records transferred from one database to another

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


Discuss Re: how to delete all records transferred from one database to another in the microsoft.public.sqlserver.dts forum.



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

Default Re: how to delete all records transferred from one database to another - 06-23-2004 , 11:45 AM






Yep but you are not going to do this row * row are you?

The way I would do it is at the time of instantiating the package mark the
rows to be moved, set a flag or something.
When you have moved the rows successfully then remove the flagged rows from
the source.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"jtippell" <jtippell (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm using DTS to copy records from one SQL server database to another. The
problem that I face is that for each record successfully copied, I wish to
delete it from the source database.
Quote:
Can this be done? If so, how?

Kind regards

J






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.