Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.