Skip Headers

Oracle® Database SQL Reference
10g Release 1 (10.1)

Part Number B10759-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

DROP CONTEXT

Purpose

Use the DROP CONTEXT statement to remove a context namespace from the database.

Removing a context namespace does not invalidate any context under that namespace that has been set for a user session. However, the context will be invalid when the user next attempts to set that context.


See Also:

CREATE CONTEXT and Oracle Database Concepts for more information on contexts

Prerequisites

You must have the DROP ANY CONTEXT system privilege.

Syntax


drop_context::=
Description of drop_context.gif follows
Description of the illustration drop_context.gif

Semantics


namespace

Specify the name of the context namespace to drop. You cannot drop the built-in namespace USERENV.


See Also:

SYS_CONTEXT for information on the USERENV namespace

Example


Dropping an Application Context: Example

The following statement drops the context created in CREATE CONTEXT :

DROP CONTEXT hr_context;