This is a mirror of official site: http://jasper-net.blogspot.com/

TSQL Tips and Tricks - Different ways to know the server name

| Monday, September 6, 2010
Here are the three different ways to know the Server name using queries

Method 1 : Use @@servername
select @@servername as server_name

Method 2 : Use sp_helpserver system procedure
exec sp_helpserver

Read more: Beyond Relational

Posted via email from .NET Info

0 comments: