Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / July 2008

Tip: Looking for answers? Try searching our database.

SQL Server 2005 : define a transactional replication where delete instructions are not replicated

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karine Lemoine - 23 Jul 2008 16:47 GMT
Hello,

Did anyone perform a transactional replication where delete instructions
are not replicated ?
Advises would be very appreciate.

Regards
Hilary Cotter - 24 Jul 2008 13:45 GMT
Yes, basically you can replaced the command with a NONE statement.

What may happen is that you need some deletes to replicate and then
you will have to do the deletes on both sides.

What most people do is do deletes through a proc and then replicate
the execution of the proc. On the subscriber this proc is a noop. This
way they can do legitimate deletes they want replicated outside of the
proc, and when they want the deletes not replicated, they do it
through the proc.

On Jul 23, 11:47 am, Karine Lemoine <karine.lemo...@atosorigin.com>
wrote:
> Hello,
>
[quoted text clipped - 3 lines]
>
> Regards
Karine Lemoine - 28 Jul 2008 10:27 GMT
Thank you very much - it worked fine !

Hilary Cotter a écrit :
> Yes, basically you can replaced the command with a NONE statement.
>
[quoted text clipped - 16 lines]
>>
>> Regards
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.