Tuesday, June 8, 2021

GET SQL Server Port

 How to Get SQL Server Port


select distinct local_net_address, local_tcp_port 

from sys.dm_exec_connections where local_net_address is not null

No comments:

Post a Comment

Screen Record

 Windows Screen Record WindowsKey+ Alt + R Recording Starts.