Use sp_drop_resource_limit to drop a resource limit from an Adaptive Server.
The syntax is:
sp_drop_resource_limit {name , appname } [, rangename, limittype, enforced, action, scope]
Specify enough information to uniquely identify the limit. You must specify a non-null value for either name or appname. In addition, specify values according to those shown in Table 1-4.
Parameter |
Value specified |
Consequence |
---|---|---|
name |
|
Drops limits that apply to the particular login. |
|
Drops limits that apply to all users of a particular application. |
|
appname |
|
Drops limits that apply to a particular application. Drops limits that apply to all applications used by the specified login. |
timerange |
|
Drops limits that apply to a particular time range. Drops all resource limits for the specified name, appname, limittype, enforcement time, action, and scope, without regard to rangename. |
limittype |
|
Drops limits that apply to a particular limit type. Drops all resource limits for the specified name, appname, timerange, action, and scope, without regard to limittype. |
enforced |
|
Drops the limits that apply to the specified enforcement time. Drops all resource limits for the specified name, appname, limittype, timerange, action, and scope, without regard to enforcement time. |
action |
|
Drops the limits that apply to a particular action type. Drops all resource limits for the specified name, appname, timerange, limittype, enforcement time, and scope, without regard to action. |
scope |
|
Drops the limits that apply to a particular scope. Drops all resource limits for the specified name, appname, timerange, limittype, enforcement time, and action, without regard to scope. |
When you use sp_droplogin to drop an Adaptive Server login, all resource limits associated with that login are also dropped.
For detailed information, see sp_drop_resource_limit in the Reference Manual.