sp_drop_time_range

Description

Removes a user-defined time range from Adaptive Server.

Syntax

sp_drop_time_range name

Parameters

name

is the name of the time range to be dropped.

Examples

Example 1

Removes the “evenings” time range:

sp_drop_time_range evenings

Usage

Permissions

Only a system administrator can execute sp_drop_time_range.

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

Documents For more information on time ranges, see the System Administration Guide.

System procedures sp_add_resource_limit, sp_add_time_range, sp_modify_time_range