currently connected PDB name - Oracle Database Script. SQL> SHOW con_name CON_NAME ------------------------------ PDB1 SQL> select sys_context('USERENV','CON_NAME') FROM DUAL; SYS_CONTEXT('USERENV','CON_NAME') ----------------------------------- PDB1
SQL> SHOW con_name CON_NAME ------------------------------ PDB1 SQL> select sys_context('USERENV','CON_NAME') FROM DUAL; SYS_CONTEXT('USERENV','CON_NAME') ----------------------------------- PDB1