Q. How to Start SQL Server Management Studio (SSMS) from Run Prompt?
A. Go to Start -> Run. Type "sqlwb" and click "Ok". This will launch SQL Server Management Studio.
Q. How to comment multiple lines of SQL statements in SQL Server Management Studio?
A. Select the line(s) of code to be commented and then press "CTRL+K" & "CTRL+C" one after the other. This will comment the selected line(s) of SQL Statements.
Q. How uncomment multiple lines of SQL statements in SQL Server Management Studio?
A. Select the line(s) of code to be commented and then press "CTRL+K" & "CTRL+U" one after the other. This will uncomment the selected line(s) of SQL Statements.
A. Parsing an SQL Server will check for any syntactical errors in the selected set of SQL Statements. To parse SQL Statement(s) in SQL Server Management Studio select the SQL Statement(s) and then press "CTRL + F5"
Q. What is the Shortcut for running/executing SQL queries in SQL Server Management Studio?
A. Select the SQL Statement(s) to be executed and then press any of the following to execute the selected SQL Statement(s):
1. F5
2. CTRL + E
Q. How to navigate between query pane and results pane in SQL Server Management Studio?
A. The following are the shortcuts for navigating between the query pane and the results pane in SQL Server Management Studio:
To move from Query pane to the results pane press "F6"
To move from results pane to the Query pane press "SHIFT + F6"
Note:- The above listed shortcuts are applicable for SQL Server 2005 Management Studio. Some of these shortcuts might not work with SQL Server 2008 Management Studio.


