web analytics

How to get the database name in Oracle?

Options

codeling 1599 - 6654
@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;

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com