Get your PeopleSoft Environment using the SYS_CONTEXT function

Get your PeopleSoft Environment using the SYS_CONTEXT function…

SELECT SYS_CONTEXT (‘USERENV’, ‘DB_NAME’) FROM DUAL;