I have two server in two areas "WAN" : "distributed system". I applied a merge replication for these two servers (Microsoft Sql Server 2008 R2). Now I'd like to generate the database script "Schema and Data", without replication data informations (rowguid column, ...) to run in a third local server (development server)?

how can I generate my script? thank you in advance.

有帮助吗?

解决方案

You will need to use backup and restore. When doing the restore to your development server exclude the KEEP_REPLICATION switch. This will ensure that no replication metadata will be restored.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top