Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Getting current instance name with a select ?
Hi Christian,
No, by definition, v$instance can only contain details of the "current" instance.
Cheers
Richard
"Christian BIERO" <cbiero_at_gold-solutions.com> wrote in message
news:amca31$i17$1_at_news2.isdnet.net...
>
> Hello,
>
> Is there a way to get the currently connected instance, using a select ?
>
> Something like : SELECT USER FROM DUAL;
>
> V_$ACTIVE_INSTANCES is empty.
> There's the table V$INSTANCE. I got the good information in INSTANCE_NAME
> but could this table have several records ?
>
> Any help would be appreciated.
>
> Thanks
>
> Christian
>
>
>
>
>
Received on Thu Sep 19 2002 - 06:07:42 CDT