ORG_ID NUMBER(15) DEFAULT TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(
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
0