Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi How do i get the server name

Status
Not open for further replies.

cyno

Programmer
Oct 1, 2003
90
US
Hi

How do i get the server name in oracle.Iam new to oracle.
In MSSQL we get the server name as select @@servername.
 
Cyno,

select host_name from v$instance;

HOST_NAME
----------
foster

[santa]Mufasa
(aka Dave of Sandy, Utah, USA @ 00:18 (17Dec03) GMT, 17:18 (16Dec03) Mountain Time)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top