This blog has been moved to http://dattatreysindol.blogspot.com.

Please visit http://dattatreysindol.blogspot.com for all updates from now on.


Thanks for visiting my blog.



- Datta




Showing posts with label Shortcuts. Show all posts
Showing posts with label Shortcuts. Show all posts
| 0 comments ]

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.

More Shortcuts on SQL Server Client Applications Here.

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.

Q. What is the Shortcut for parsing SQL Queries in SQL Server Management Studio?

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.

| 0 comments ]

The following are few of the questions commonly asked by many techies. Also these are the shortcuts which make techies lives easier.

Q. How to invoke SQL Server Management Studio from Run prompt ?
A. Go to Start -> Run. Type sqlwb for SQL Server 2005 Client, Type ssms for SQL Server 2008 Client and click "Ok". This will launch SQL Server Management Studio.





Q. How to invoke SQL Server Business Intelligence Development Studio from Run prompt ?
A. Go to Start -> Run. Type devenv and click OK. This will launch SQL Server Business Intelligence Development Studio (works for SQL Server 2005 Client).