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

上一篇:GCC内置宏


下一篇:营销渠道客户转化分析(归因分析)