Administering SQL Server

Defining Operators

The primary attributes of an operator are name and contact information. It is recommended that you define operators before you define alerts. You must set up one or more of the following in order to notify an operator:

Naming an Operator

Every operator must have a name. Operator names must be unique and can be no longer than 128 characters.

Providing Contact Information

An operator's contact information defines how the operator is notified. Operators can be notified by e-mail, pager, or net send:

If all of the operators share a pager provider, you can use SQL Server Enterprise Manager to specify any special e-mail formatting required by the pager-to-e-mail system. The special formatting can be a prefix or a suffix:

Designating a Fail-Safe Operator

The fail-safe operator is notified about an alert after all pager notifications to the designated operators have failed. For example, if you have defined three operators for pager notifications and none of the designated operators can be paged, the fail-safe operator is notified.

The fail-safe operator is notified when:

Because the fail-safe operator is a safety feature, you cannot delete the operator assigned to fail-safe duty without reassigning fail-safe duty to another operator or deleting the fail-safe assignment.

To create an operator

Enterprise Manager

Enterprise Manager

Transact-SQL

Transact-SQL

SQL-DMO

To assign alerts to an operator

Enterprise Manager

Enterprise Manager

Transact-SQL

SQL-DMO

To format pager addresses

Enterprise Manager

Enterprise Manager

SQL-DMO

To designate a fail-safe operator

Enterprise Manager

Enterprise Manager

SQL-DMO

See Also

AddNotification Method

AlertSystem Object

Operator Object

sp_add_alert

sp_add_operator

sp_help_notification

sp_help_operator

TML>