Here are the three different ways to know the Server name using queriesMethod 1 : Use @@servername
select @@servername as server_nameMethod 2 : Use sp_helpserver system procedure
exec sp_helpserver Read more: Beyond Relational
select @@servername as server_nameMethod 2 : Use sp_helpserver system procedure
exec sp_helpserver Read more: Beyond Relational
0 comments:
Post a Comment