How to get the database name in Oracle? Options

codeling 1261 - 5415
@2016-09-09 09:27:17

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