If Merge and Transactional replication are able to update data on both side,
can someone breifly tell the real different between those two?
Thanks so much for answering my question.
Ed
Handling dependencies is tricky. First off SQL Server will order your
publications according to DRI so if you are lucky and sysdepends is accurate
you will have not problems. If you are not so lucky, you will run into pk fk
violations.
The best way to handle this is to script out your tables, edit the tables to
disable all constraints and then run this script on your subscriber. Send
then snapshot over, making sure in the name conflicts section you select
keep existing table, and with a post snapshot command re-enable your
constraints.
--
Hilary Cotter
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
"Ed" <E...@discussions.microsoft.com> wrote in message
news:5C2AEEDA-6CFB-4AD9...@microsoft.com...
also,instead of dropping and recreating items, you can disable fk
constraints and reenable them after snapshot has taken place.
disable
ALTER TABLE Mytable nocheck CONSTRAINT MyForeignKeyConstraint
enable
ALTER TABLE Mytable check CONSTRAINT MyForeignKeyConstraint
Go to Properties of your publication, then select snapshot tab.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/repwizrd/repwizrd_5ctl.asp