我安装了 SQL Server 2012,我需要将网络传输类型从命名管道更新为 tcp 协议。我在 SQL 服务器配置管理器中执行此操作并重新启动服务。然而,在跑步时
select connectionproperty('net_transport') as net_transport,
connectionproperty('protocol_type') as pt,
connectionproperty('auth_scheme') as sh,
connectionproperty('local_net_address') as lna,
connectionproperty('local_tcp_port') as tcport,
connectionproperty('client_net_address') as cna
from sys.dm_exec_connections
它给了我 net_transport 类型作为命名管道。