Adds an abstract plan group.
sp_add_qpgroup new_name
sp_add_qpgroup dev_plans
Use sp_add_qpgroup to add abstract plan groups for use in capturing or creating abstract plans. The abstract plan group must exist before you can create, save, or copy plans into a group.
You cannot run sp_add_qpgroup in a transaction.
See also set in Reference Manual: Commands.
The permission checks for sp_add_qpgroup differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with manage abstract plans privilege. |
Disabled | With granular permissions disabled, you must be the database owner or a user with sa_role |
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|