SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Replication and Reporting database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bmeggitt
Starting Member

USA
2 Posts

Posted - 11/26/2012 :  09:25:58  Show Profile  Reply with Quote
I could use a little direction from the experts.

We have an operational database with a 30 day window and a reporting database with a 120 day window. Keeping them in sync with replication works well except for when we need to purge records from the operational side. We do not want the purge deletes to replicate across to the reporting side. Our DBA is tell me that it is not possible to stop the purge deletes. I'm sure this is done at many other places. What options do we have for blocking the deletes from the reporting side?



Thanks
Bob

namman
Constraint Violating Yak Guru

USA
263 Posts

Posted - 11/26/2012 :  12:55:29  Show Profile  Reply with Quote
How many tables you do not want to replicate the delete actions?
Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/26/2012 :  12:03:58  Show Profile  Reply with Quote
Yes there is a way in Transactional Replication. You can go to publisher -> Article Properties and choose DONOT Replicate Delete statements for those tables. If purge is one time,huge and affects lots of table, I would recommend to take backup and disable replication purge data and reapply Replications with Full and Transaction log backup.
Go to Top of Page

bmeggitt
Starting Member

USA
2 Posts

Posted - 12/26/2012 :  12:46:38  Show Profile  Reply with Quote
Thank you for all the replies.
We have a solution that will work for our users and make our DBA happy.

Thanks
Bob
Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/26/2012 :  13:40:02  Show Profile  Reply with Quote
So what was the solution?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000