sp_restoredbreplication (Transact-SQL)
SQL Server 2005
Removes replication settings if restoring a database to the non-originating server, database, or system that is otherwise not capable of running replication processes. When restoring a replicated database to a server or database other than the one where the backup was taken, replication settings cannot be preserved. On the restore, the server calls sp_restoredbreplication directly to automatically remove replication metadata from the restored database.
Transact-SQL Syntax Conventions
- [ @srv_orig = ] 'original_server_name'
-
The name of the server where the back up was created. original_server_name is sysname, with no default.
- [ @db_orig = ] 'original_database_name'
-
The name of the database that was backed up. original_database_name is sysname, with no default.
- [ @keep_replication = ] keep_replication
-
For internal use only.
- [ @perform_upgrade = ] perform_upgrade
-
For internal use only.