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

Home -> Community -> Usenet -> c.d.o.tools -> Get host name of server from within ORACLE SQL script?

Get host name of server from within ORACLE SQL script?

From: Alastair Cameron <alistair.a.cameron_at_is.shell.com>
Date: Wed, 7 Mar 2001 18:12:57 -0000
Message-ID: <8Sup6.3$ux2.104@wwwserv3.shell.nl>

How can I determine the host (or computer) name of the computer where ORACLE server is installed from within a SQLPLUS .SQL script? this applies to ORACLE running on UNIX as well as NT, and remote or local connections.

Somebody suggested dbms_utility and port_string, but that returns a generic name; not the explicit machine name of the host computer.

Thanks. Received on Wed Mar 07 2001 - 12:12:57 CST

Original text of this message

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