all groups > sql server replication > august 2007 >
You're in the

sql server replication

group:

updates delived as del/ins in SQL2005?


updates delived as del/ins in SQL2005? Chris
8/23/2007 9:56:00 AM
sql server replication:

I noticed this behavior in SQL2000 transactional repl. Updates may get
replicated as deletes, then inserts.

Is this still the case in SQL2005 trans repl?

We would like to control deletes at the publisher, but not replicate those
deletes to the subscriber. This will be a problem w/ updates going as deletes
then updates. Can't simply disable delete cmd repl.

Any ideas or suggestions on how to get around.

Thanks.

Chris
Re: updates delived as del/ins in SQL2005? Hilary Cotter
8/23/2007 2:35:45 PM
Have you tried http://support.microsoft.com/kb/302341 ?

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
[quoted text, click to view]

Re: updates delived as del/ins in SQL2005? Hassan
8/26/2007 11:04:03 PM
The KB articles states that its for SQL 2000. Does it apply to SQL 2005 too
?

[quoted text, click to view]

Re: updates delived as del/ins in SQL2005? Ekrem_Önsoy
8/28/2007 12:00:00 AM
Hi Chris,


In SQL Server 2005, while creating a new publication, you can disable delete
commands to be replicated.

In the New Publication Wizard window, when you come to Articles, select the
tables which you do not want the delete commands to be replicated and then
"Article Properties" and "Set properties of highlighted Table Article" and
"Article Properties" pops up. You will see "DELETE delivery format" option
in the bottom of the properties. Set this option as "Do not replicate DELETE
statements". I think this will help you.


--
Ekrem Önsoy



[quoted text, click to view]
AddThis Social Bookmark Button