dbTalk Databases Forums  

SQL Server 2000 Ent, log shipping and TRUNCATE TABLE

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss SQL Server 2000 Ent, log shipping and TRUNCATE TABLE in the microsoft.public.sqlserver.server forum.



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

Default SQL Server 2000 Ent, log shipping and TRUNCATE TABLE - 07-07-2003 , 09:23 AM






I've implemented log shipping on a development database and all seems
fine. When production goes live, it will incorporate some overnight
and weekly routines that contain TRUNCATE TABLE statements. I
understand that these non-logged operations will cause problems for
log shipping. As I can see it, one option is to replace TRUNCATE TABLE
with DELETE FROM, which will log all the deletes (seems inefficient to
me), while another is to do some sort of database backup after the
overnight job. I'm unclear as to what this would entail. On the other
hand, there might be a much better solution altogether.

Thanks for any tips.

Scott Doughty

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 - 2013, Jelsoft Enterprises Ltd.