sp_add_qpgroup

Description

Adds an abstract plan group.

Syntax

sp_add_qpgroup new_name

Parameters

new_name

is the name of the new abstract plan group. Group names must be valid identifiers.

Examples

Example 1

Creates a new abstract plan group named dev_plans:

sp_add_qpgroup dev_plans

Usage

Permissions

Only a system administrator or database owner can execute sp_add_qpgroup.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Commands set

System procedures sp_help_qpgroup