mssqltips logo

Shortcut to Show and Hide SSMS Results Pane

By:   |   Updated: 2019-08-22   |   Comments (2)   |   Related: More > SQL Server Management Studio

Problem

When using SSMS the query window is usually made up of the Editor on the top half and after you execute code, the Results are displayed on the bottom half. The problem with this is that if you need to modify the code in the Editor section the display is limited because the results pane takes up the bottom half of the window. You could resize the results section, but in this tip we look at a simple shortcut to show and hide the results pane.

Solution

Using Shortcut Keys

In older versions of SSMS, the simple solution is to use the Ctrl+R shortcut to toggle between showing and hiding the results pane.

Here is a sample query window in SSMS with just the Editor section.

a sample query window in ssms

After we execute the code, half of the screen is now taken up by the Results pane.

toggle between showing and hiding the results pane when using ssms

If we just use Ctrl+R we can toggle between showing and hiding the results pane and therefore you can see more of the Editor section when you are using SQL Server Management Studio.

Using SSMS Menus

In some versions of SSMS, the shortcut no longer exists, so you have to use the menus. Window > Hide Results Pane (or Show Results Pane) as shown below.

toggle between showing and hiding the results pane when using ssms
Next Steps


Last Updated: 2019-08-22


get scripts

next tip button



About the author
MSSQLTips author Edgewood Solutions Edgewood Solutions is a technology company focused on Microsoft SQL Server and founder of MSSQLTips.com.

View all my tips
Related Resources




Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name
*Email
Email me updates

Signup for our newsletter

I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.





Tuesday, August 27, 2019 - 10:22:16 AM - Greg Robidoux Back To Top

Hi Jeff,

It looks like this an older version of SSMS 11.0.5058.0 where it does not work.

I just tried in SSMS 17.91.1 and it does work.  I'll update the tip again.

I guess Microsoft had the option, took it out and put it back in again.  This was first written in 2011 and Ctrl+R worked back then.

Thanks for pointing this out.

-Greg


Monday, August 26, 2019 - 5:33:06 PM - Jeff Moden Back To Top

What version of SSMS are you running where {Ctrl-R} doesn't work?  I ask because it works fine in SSMS 18.2 and 17.9.



download

























get free sql tips

I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.



Learn more about SQL Server tools