Wednesday, April 13, 2011

How to get the Server Name using a SQL Server Query ?

No words, just command:
select SERVERPROPERTY(N'servername')

Result:


No comments:

Post a Comment