Besides querying tables v_ $ database and v_ $ instances (or v $ instance, v $ database views), is there any other way to programmatically retrieve (from PL / SQL) the name of the oracle database database?
The following were found in the expert market:
select ora_database_name from dual; select sys_context('userenv','db_name') from dual; select global_name from global_name;
http://www.experts-exchange.com/Databases/Oracle/Q_20529577.html
dbms_standard.database_name
Source: https://habr.com/ru/post/1705881/More articles:PHP @exec fails - phpКак удалить все маркеры с символами без слов в Perl? - regexHow can we solve the datetime problem by moving the access database from the working server to the live one - c #Maven 2 project version, dependency versions and perpetual release - version-controlLink to a COM assembly in Visual Studio and to convert a COM assembly through tlbimp.exe - referencecreating boost :: graph edge_weight property map - c ++.htaccess for IIS? - securityWhat is the life span of the data? - databaseобратная строка php - phpMaven build generation - maven-2All Articles