Show the name of instance through of SYS_CONTEXT
398814Jul 27 2004 — edited Jul 27 2004Hi...
I need rescue the name of instance , but not have privileges on v$ views.
I use the function sys_context('USERENV','INSTANCE')
See:
SQL> select sys_context('USERENV','INSTANCE') from dual;
SYS_CONTEXT('USERENV','INSTANCE')
-------------------------------------------------------------
1
SQL>
Qeestions:
1.- How rescue the name of instance?
2.- The number of instance through SYS_CONTEXT is dynamic?
Regards
Hector Gabriel Ulloa Ligarius
Santiago of Chile
http://es.groups.yahoo.com/group/desarrolloOracle/