Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top