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: Host IP Address from PL/SQL

Re: Host IP Address from PL/SQL

From: Andrew Pahomov <Pahomov_at_validio.com.ua>
Date: Fri, 26 Jan 2001 09:52:29 +0200
Message-ID: <3a712cbd$1@miik2-ilt.ilt.kharkov.ua>

SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL; Jim DeCicco <decj1_at_interaccess.com> wrote in message news:t71jtc978l1te5_at_corp.supernews.com...
> Any info. would be greatly appreciated. I want to create a function that
> will return the IP address of the UNIX host that the database is running
 on.
> I know that I can get the host name from v$instance, but I need the
 address.
> We're running 8.1.6 on HP-UX (not sure of the version).
>
> Do I have to write a C program, create a library, etc?
>
> Thanks in advance
>
> Jim
>
>
Received on Fri Jan 26 2001 - 01:52:29 CST

Original text of this message

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