Interview Questions

1. How to get the port number where the SQL Server instance is listening?

Below are the methods using which we can get the port information.

Method 1: SQL Server Configuration Manager

Method 2: Windows Event Viewe

Method 3: SQL Server Error Logs Method 4: sys.dm_exec_connections DMV

Method 5: Reading registry using xp_instance_regread

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

1654634 1720 23 859

Angular

42206 92 0 46

Wordpress

34173 72 1 36