Database Administration (MOSC)

MOSC Banner

Executing a package in my own schema when the current schema is different

edited Dec 28, 2009 3:37PM in Database Administration (MOSC) 14 commentsAnswered
  Hi,

 

This is a thread I had already raised in the former Metalink forum, but somewhat I didn’t get a satisfactory answer. This is more of a question than a problem actually. Here it is:

On Production instance, I connect with my personal user name GVANACKE which has limited privileges. There’s an AFTER LOGON trigger on my user that sets the current schema to APPS:

 

Connected to Oracle9i Enterprise Edition Release 9.2.0.6.0

Connected as gvanacke

 

SQL> select user from dual;

 

USER

------------------------------

GVANACKE

 

SQL> select SYS_CONTEXT('USERENV', 'CURRENT_SCHEMA') from dual;

 

SYS_CONTEXT('USERENV','CURRENT

--------------------------------------------------------------------------------

APPS

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center