Groups | Blog | Home
all groups > sql server replication > december 2006 >

sql server replication : Is it possible to alter snapshot agent to not drop tables?


mEmENT0m0RI
12/12/2006 12:53:59 PM
We've got transactional replication set up from 2000 to 05. Is there a
way to not let the snapshot agent to drop and recreate the destination
tables, but rather truncate them?

Thank you,
Igor



mEmENT0m0RI
12/12/2006 2:28:55 PM
Right ON!

Thank you.



Paul Ibison
12/12/2006 9:36:11 PM
Have a look at the article properties (@pre_creation_cmd ). By default it is
Drop, but it can be converted to delete or truncate (or none).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

AddThis Social Bookmark Button