declare @port varchar(200)
exec master.dbo.xp_regread
'HKEY_LOCAL_MACHINE',
'SOFTWARE/Microsoft/MSSQLSERVER/MSSQLSERVER/SuperSocketNetLib/Tcp',
'TcpPort',@port output
print @port
查询TCP端口
最新推荐文章于 2024-03-29 16:05:19 发布