From e750e2e7ba15fa202c6f21f7e4be79a1e6b2739c Mon Sep 17 00:00:00 2001 From: bigdoghung Date: Wed, 24 May 2017 16:55:12 -0400 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e96b72a..e6ed1f3 100644 --- a/README.md +++ b/README.md @@ -275,6 +275,14 @@ Azure SQL ---- +To determine SQL SERVER Instance + SELECT SERVERPROPERTY('ComputerNamePhysicalNetBIOS') AS ServerName, + @@SERVERNAME AS FullInstanceName, @@SERVICENAME AS InstanceName, + local_net_address AS InstanceIPAddress, local_tcp_port AS InstancePort + FROM sys.dm_exec_connections WHERE session_id = @@spid + +If InstanceName is like MSSQLSERVER then server syntax should be Server={FullInstanceName};Database=master; + ## Support Find a bug? Post it to [http://support.newrelic.com](http://support.newrelic.com).