How to get the database name in Oracle? Options

codeling Posts: 1057 Points: 4443
Posted: Friday, September 9, 2016 9:27:17 AM

SQL> select sys_context('userenv','db_name') from dual;


SQL> select ora_database_name from dual;


SQL> select * from global_name;

 
Users browsing this topic
Guest