minor update regarding --current-db on Oracle

This commit is contained in:
Miroslav Stampar
2011-04-01 15:56:11 +00:00
parent eb99f68a7a
commit e27afef6be
3 changed files with 10 additions and 7 deletions

View File

@@ -230,7 +230,11 @@
<inference query="ASCII(SUBSTR((%s),%d,1)) > %d"/>
<banner query="SELECT banner FROM v$version WHERE ROWNUM=1"/>
<current_user query="SELECT USER FROM DUAL"/>
<!--
NOTE: current physical DB but not usable for enumeration
<current_db query="SELECT SYS.DATABASE_NAME FROM DUAL"/>
-->
<current_db query="SELECT USER FROM DUAL"/>
<!--
NOTE: in Oracle to check if the session user is DBA you can use:
SELECT USERENV('ISDBA') FROM DUAL