QuestionQ30

VerifiedOracle Database Security Architecture

You create a database session-based application context and a PL/SQL package for the HR application schema:

Examine these commands. The SET_EMPNO_CTX_PKG package body is incomplete:

Question Image

What must the username and client_id values be in the package body?

Explanation

For a database session-based application context, DBMS_SESSION.SET_CONTEXT must use the NULL defaults for both username and client_id. Those parameters are used for globally accessed application contexts, whereas session-based contexts store the value in the current database session.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!