rm_appcontext

Removes a specific application context, or all application contexts. rm_appcontext is provided by the Application Context Facility (ACF).

Syntax

rm_appcontext(“context_name”, “attribute_name”)

Parameters

Examples

Usage

  • This function always returns 0 for success.

  • All the arguments for this function are required.

For more information on the ACF see Row-Level Access Control in System Administration Guide.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

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

Granular PermissionsDescription
Enabled

With granular permissions enabled, you must have select permission on rm_appcontext to execute the function.

Disabled

With granular permissions disabled, you must be a user with sa_role, or have select permission on rm_appcontext to execute the function.

Related reference
get_appcontext
list_appcontext
set_appcontext