Check name of Oracle Database

Find name of Oracle Database

Check database name from v$database view

SQL> select name from V$database;


Check parameter db_name from SQLPLUS

SQL> show parameter db_name

NAME       TYPE       VALUE
---------- ---------- -----------
db_name    string     XE

Check if you are using Container database , which database you are connected currently

SQL> show con_name


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.