sp_help_resource_limit

Reports on resource limits.

Syntax

sp_help_resource_limit [name [, appname [, limittime
	[, limitday [, scope [, action[, verbose]]]]]]]

Parameters

Examples

Usage

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.

Permissions

The permission checks for sp_help_resource_limit differ based on your granular permissions settings.

SettingDescription
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.

Auditing

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

InformationValues
Event

38

Audit option

exec_procedure

Command or access audited

Execution of a procedure

Information in extrainfo
  • 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

Related reference
sp_add_resource_limit
sp_drop_resource_limit
sp_modify_resource_limit