Is there a way to replicate a sql server database but not push out deletes to the subscribers?
A:
Do this....Drop the article. Create a new storedprocedure in the corresponding database that mimicks the system store procedure (sp_del...) and contains the same parameter but does nothing. Add the article again...and set the delete store procedure under the article's properties to the new delete stored procedure that you created....
Or you can select Do not replicate Delete Statements....I think that works but i haven't tried it.
Eric
2009-06-12 16:10:19
A:
You don't mention which version of SQL Server you're running, but Andy Warren wrote an article on configuring INSERT, UPDATE, and DELETE behaviour in SQL Server 2005. You can configure this through the GUI, using his instructions:
Aaron Alton
2009-06-12 16:12:33
We are using Sql Server 2005
suedeuno
2009-06-12 16:42:33
Great - I've retagged the question. Did you check Andy's article?
Aaron Alton
2009-06-12 16:43:47