Reports on resource limits.
sp_help_resource_limit [name [, appname [, limittime [, limitday [, scope [, action[, verbose]]]]]]]
"HH:MM"
For information about limits without regard to time, specify null.
sp_help_resource_limit
sp_help_resource_limit joe_user
sp_help_resource_limit NULL, my_app
sp_help_resource_limit NULL, NULL, "09:00"
sp_help_resource_limit @limittype = "09:00"
sp_help_resource_limit NULL, NULL, NULL, Monday
sp_help_resource_limit joe_user, NULL, "09:00", Monday
sp_help_resource_limit null,null,null,null,null,null,1
sp_help_resource_limit @verbose=1
sp_help_resource_limit reports on all resource limits, limits for a given login or application, limits in effect at a given time or day of the week, or limits with a given scope or action.
See the System Administration Guide for more information on resource limits.
The permission checks for sp_help_resource_limit differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with manage resource limit privilege. Any user can execute sp_help_resource_limit to list their own resource limits. |
Disabled | With granular permissions disabled, you must be a user with sa_role. Any user can execute sp_help_resource_limit to list their own resource limits. |
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 |
|