sp_dropsubscriber (Transact-SQL)

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


This stored procedure has been deprecated. You are no longer required to explicitly register a Subscriber at the Publisher.

Topic link iconTransact-SQL Syntax Conventions


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


  • [ @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)


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.


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

See Also


sp_addsubscriber (Transact-SQL)
sp_changesubscriber (Transact-SQL)
sp_dboption (Transact-SQL)
sp_helpdistributor (Transact-SQL)
sp_helpserver (Transact-SQL)
sp_helpsubscriberinfo (Transact-SQL)
System Stored Procedures (Transact-SQL)

Other Resources

How to: Delete a Push Subscription (Replication Transact-SQL Programming)
How to: Delete a Pull Subscription (Replication Transact-SQL Programming)

Help and Information

Getting SQL Server 2005 Assistance