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





Comments For This Article




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

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 (82144)

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


Recommended Reading

Display Line Numbers in a SQL Server Management Studio Query Window

SQL Server Management Studio Connection to Integration Services Error Class Not Registered

Connect to SQL Servers in another domain using Windows Authentication

Executing large scripts in SQL Server Management Studio with Insufficient Memory Failures

How to use RunAs command for SSMS if option does not exist





get free sql tips
agree to terms


Learn more about SQL Server tools