Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 T-sql command to get the current instance name

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-01-04 : 22:46:31
What is the T-sql command to get the current instance name please?
Thanks

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2007-01-04 : 23:17:15
EXEC sp_helpserver

or

select @@servername
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-01-04 : 23:20:03
that s perfect man
Go to Top of Page
   

- Advertisement -