Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Determing Server IP or Host name from within Oracle

Re: Determing Server IP or Host name from within Oracle

From: Zbigniew Sliwa <zibi_at_at_yahoo.com>
Date: Tue, 21 Nov 2000 13:00:07 +0100
Message-ID: <3A1A63C7.36DF291A@yahoo.com>

Bob,

You could try:

select host_name from v$instance;

-- 
Regards,

Zbigniew Sliwa
Oracle Programmer
Poland
email: zibi_at_at_yahoo.com

Sauron wrote:

>
> Here is poser I have been working on for several days and no clear
> resolution.
>
> I have two servers configured the same, (drives, folder structure, etc).
> One is my current production server, the other is my soon-to-be new
> production server.
>
> My "want" is to be able to do a SQL query that returns me the IP or hostname
> of the current server I am on. BTW, the instance is the same on both
> machines. I know that I can tell by looking at my v$sga since I made the
> sga bigger on the new server. But, is there another way?
>
> Thanks
> Bob
Received on Tue Nov 21 2000 - 06:00:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US