There are times you would want to get the name of the SQL server and instance id, use the following command in a sql shell:
select @@servername + ‘\’ + @@servicename
select @@servername + ‘\’ + @@servicename
Riyaz's Innovative Solutions Blog
Your one stop consultant for Digital Workplace