Removes a specific application context, or all application contexts.
rm_appcontext ("context_name", "attribute_name")
context_name – a row specifying an application context name, saved as datatype char(30).
attribute_name – a row specifying an application context attribute name, saved as datatype char(30).
Example 1 Uses an asterisk ("*") to remove all attributes in the specified context.
select rm_appcontext("CONTEXT1", "*") --------- 0
Example 2 Uses an asterisk ("*") to remove all the contexts and attributes.
select rm_appcontext("*", "*") --------- 0
Example 3 Shows a user attempting to remove a nonexistent context. The attempt fails, returning -1.
select rm_appcontext("NON_EXISTING_CTX", "ATTR2") --------- -1
Example 4 Shows the result of a user without appropriate permissions attempting to remove an application context.
select rm_appcontext("CONTEXT1", "ATTR2") --------- -1
rm_appcontext returns 0 for success, -1 for failure.
All arguments in this function are required.