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

sp_dropsubscriber

SQL Server 2000

Removes the Subscriber designation from a registered server. This stored procedure is executed at the Publisher on the publication database.

Syntax

sp_dropsubscriber [ @subscriber = ] 'subscriber'
    [ , [ @reserved = ] 'reserved' ]
    [ , [ @ignore_distributor = ] ignore_distributor ]

Arguments

[@subscriber = ] 'subscriber'

Is the name of the Subscriber to be dropped. subscriber is sysname, with no default.

[@reserved = ] 'reserved'

For internal use only.

[@ignore_distributor = ] ignore_distributor

For internal use only.

Return Code Values

0 (success) or 1 (failure)

Remarks

sp_dropsubscriber is used in all types of replication.

This stored procedure removes the server sub option and removes the remote login mapping of system administrator to repl_subscriber.

Permissions

Only members of the sysadmin fixed server role can execute sp_dropsubscriber.

See Also

sp_addsubscriber

sp_changesubscriber

sp_dboption

sp_helpdistributor

sp_helpserver

sp_helpsubscriberinfo

System Stored Procedures

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.