Database Administration (MOSC)

MOSC Banner

ORG_ID NUMBER(15) DEFAULT TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(

edited Nov 12, 2013 4:00AM in Database Administration (MOSC) 1 commentAnswered
 Hi,
We are upgrading the applications from 11.5.10 to R12(12.1.3) and in many tables the org_id is extracted based on the user environment variable CLIENT_INFO  as shown below


ORG_ID   NUMBER(15)   DEFAULT TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(USERENV('CLIENT_INFO'),1,10)))


could you please suggest how to extract the org_id value for single/multi org access.

Best  Regards
Syed Hussain

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