Tuesday, December 27, 2011

Get host Name/Server name

select @@servername
or
select SERVERPROPERTY ('ServerName')


No comments: