drop error class

Description

Drops an error class and any actions associated with it.

Syntax

drop [replication server] error class error_class

Parameters

replication server

Indicates that the error class is a Replication Server error class and not a data server error class.

error_class

The name of the error class to drop.

Examples

Example 1

Drops the pubs2_db_err_class error class from the Replication Server. Also drops any error actions that were assigned for the pubs2_db_err_class error class:

drop error class pubs2_db_err_class

Example 2

Drops the sydney_rs_err_class Replication Server error class from the Replication Server. Also drops any error actions that were assigned for the sydney_rs_err_class error class:

drop replication server error class sydney_rs_err_class

Usage

Permissions

drop error class requires “sa” permission.

See also

assign action, create connection, create error class, drop connection, move primary