Several ways to check the IP address of the SQL Server you’re connected to. 1. Query the SQL server error log. This works on SQL Server 2012 and above, the search strings is enclosed in double quotes. For lower SQL server versions, try using single quotes 2. Using CONNECTIONPROPERTY 3. Using DMVs, this returns the… Read More