DBA Hub

📋Steps in this guide1/1

currently connected PDB name

SQL> show con_name

oracle configurationintermediate
by OracleDba
11 views
1

currently connected PDB name

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
SQL>
show con_name
CON_NAME
------------------------------
PDB1
SQL>
select sys_context('USERENV','CON_NAME') FROM DUAL;
SYS_CONTEXT('USERENV','CON_NAME')
-----------------------------------
PDB1

Comments (0)

Please to add comments

No comments yet. Be the first to comment!