3
Nov
Get Current Server Name in SQL Server5.051

How to Get Current Server Name ,using select statement in below,

–Get Current Server Name
SELECT @@ServerName AS CurrentServerName

GetServerName

Reference : http://source.witssquare.com

VN:F [1.7.4_987]
Rating: 5.0/5 (1 vote cast)
VN:F [1.7.4_987]
Rating: +1 (from 1 vote)

Tags: , , , , ,

This entry was posted on Tuesday, November 3rd, 2009 at 2:51 am and is filed under SQL Server. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment