Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can define HOSTNAME in package spec?
The value of v$session.terminal and the hostname for the Oracle
database server are not the same thing nor is the terminal necessarily
the host name of the client server.
If you want the client server look at v$session.machine
If you want the database server host then try
select
utl_inaddr.get_host_name as hn
from
sys.dual
HTH -- Mark D Powell -- Received on Mon Jul 18 2005 - 08:22:47 CDT
![]() |
![]() |