Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Replication
Technical Reference
 sp_vupgrade_mergeobjects (Transact-...
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
sp_vupgrade_mergeobjects (Transact-SQL)

Regenerates the article-specific triggers, stored procedures, and views that are used to track and apply data changes for merge replication. Execute this procedure in the following situations:

  • If an object required by replication is accidentally dropped.
  • If you apply an update, such as a hotfix, that requires modification to one or more replication objects. Execute the procedure on each node after applying the update.

Executing this stored procedure does not require reinitialization of subscriptions. This procedure is not required if you install a service pack or upgrade to a new version of SQL Server.

Topic link icon Transact-SQL Syntax Conventions

sp_vupgrade_mergeobjects [ [@login = ] 'login' ]
    [ , [ @password = ] 'password' ]
    [ , [ @security_mode = ] security_mode ]
[ @login=] 'login'

Is the system administrator login to use when creating new system objects in the distribution database. login is sysname, with a default of NULL. This parameter is not required if security_mode is set to 1, which is Windows Authentication.

[ @password=] 'password'

Is the system administrator password to use when creating new system objects in the distribution database. password is sysname, with a default of ' ' (empty string). This parameter is not required if security_mode is set to 1, which is Windows Authentication.

[ @security_mode=] 'security_mode'

Is the login security mode to use when creating new system objects in the distribution database. security_mode is bit with a default value of 1. If 0, SQL Server Authentication will be used. If 1, Windows Authentication will be used. When possible, use Windows Authentication.

0 (success) or 1 (failure)

sp_vupgrade_mergeobjects is used only for merge replication.

Requires membership in the sysadmin fixed server role.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker