Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

sp_delete_operator (Transact-SQL)

sp_delete_operator [ @name= ] 'name' 
     [ , [ @reassign_to_operator= ] 'reassign_operator' ] 

[ @name= ] 'name'

The name of the operator to delete. name is sysname, with no default.

[ @reassign_to_operator= ] 'reassign_operator'

The name of an operator to whom the specified operator's alerts can be reassigned. reassign_operator is sysname, with a default of NULL.

0 (success) or 1 (failure)

When an operator is removed, all the notifications associated with the operator are also removed.

Members of the sysadmin fixed server role can execute sp_delete_operator.

The following example deletes operator François Ajenstat.

USE msdb ;

EXEC sp_delete_operator @name = 'François Ajenstat' ;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft