alter error class

Description

Changes an existing error class by copying error actions from another error class.

Syntax

alter error class error_class
   set template to template_error_class

Parameters

error_class

The error class to modify.

set template to template_error_class

Use this clause to update an error class based on another error class. alter error class copies the error actions from the template error class to the existing error class.

Examples

Example 1

Changes my_error_class using rs_sqlserver_error_class as the basis:

alter error class my_error_class
    set template to rs_sqlserver_error_class

Usage

See also

create error class