Name
CREATE/DROP CONTEXT
Synopsis
CREATE Syntax:
CREATE [OR REPLACE] CONTEXTnamespaceUSING [schema.]package[INITIALIZED {EXTERNALLY | GLOBALLY } | ACCESSED GLOBALLY ]
DROP Syntax:
DROP CONTEXT namespaceCreates or drops a namespace for a context. New with Oracle8i.
Keywords
- OR REPLACE
Specifies that an existing context namespace is to be replaced
- namespace
Name of the context namespace to be created.
- package
Name of the PL/SQL package that sets the context attributes.
- INITIALIZED
Specifies that an entity other than Oracle can initialize the context namespace.
- EXTERNALLY
Specifies that the namespace can be initialized using an OCI interface when establishing a session.
- GLOBALLY
Specifies that the namespace can be initialized by the LDAP directory when a global user connects to the database.
- ACCESSED GLOBALLY
Specifies that any application context set in the namespace is accessible throughout the entire instance. This setting lets multiple sessions share application attributes.
Common keywords and clauses: schema.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access