SQLSERVER 查看服务器IP地址的命令
作者:互联网
SELECT SERVERNAME = CONVERT(NVARCHAR(128),SERVERPROPERTY('SERVERNAME'))
,LOCAL_NET_ADDRESS AS 'IPAddressOfSQLServer'
,CLIENT_NET_ADDRESS AS 'ClientIPAddress'
FROM SYS.DM_EXEC_CONNECTIONS
转自:https://www.cnblogs.com/jinanxiaolaohu/p/11445501.html
标签:CONVERT,DM,SERVERNAME,IP地址,SQLSERVER,ADDRESS,服务器,NET 来源: https://www.cnblogs.com/ftian26977863/p/11926993.html