Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a multi monitor configuration and would like to be able to have my query editor on one monitor and the results pane on another.

Can this be achieved? Either by having the results pane vertically attached to the query editor instead of horizontally, or by having the results pane float completely separate from the query editor.

I am using SSMS 2008 R2 and can upgrade to 2012 if this is a new feature.

My current workaround is to have 2 SSMS instances open, both with the same .sql file open.

I make changes to one and save it, then switch to the other instance which prompts me to reload the script and I can then execute it with the results pane filling most of the monitor.

share|improve this question
I don't have the environment for it, but can't you just drag the result windows out of SSMS and to the other monitor? – harrymc Sep 6 '13 at 19:42
not that I have found, SSMS does not seem to be MDI. Hence this question! – Shevek Sep 7 '13 at 22:01
Look in the Tools menu / Options / Environment folder / General, if you can set "MDI environment" and relaunch SSMS. (source) – harrymc Sep 8 '13 at 6:00
I have now installed SSMS 2012 and can confirm that it behaves in exactly the same was as 2008 R2, so it is not a solution to this problem – Shevek Sep 17 '13 at 12:58
It's such a small thing. Multiple monitors is so common nowadays, especially for devs. Everyone on our team has at least 2, most have three (I have 4 :D)... This would be such an awesome feature. – Shevek Jan 24 '14 at 7:29

Unfortunately the results pane can only be attached horizontally to your current editor window, this means there is no way to detach it and to move to another screen.

However, one improvement of SSMS2012 over 2008 is that you don't need to have two instances of it opened now to use several monitors: you can undock the editor window and drag it over to a second monitor.

Unfortunately, you can't duplicate the same query or re-open it. So, having two instances might be still an optimal solution for you. I am just used to quickly press

  • Ctrl-A (select everything in the editor window),
  • Ctrl-C (copy to clipboard),
  • Ctrl-TAB (switch to pre-last [data] window),
  • Release Ctrl briefly
  • Ctrl-A (select the complete content of the second, data window),
  • Ctrl-V (replace the content with the new content from),
  • F5 (to refresh the data)

It might seem long, but most of the sequence is done just with you minimal finger keeping Ctrl pressed, and for those who are experienced in computer fighting games this just reminds one of the "fatality" combos :)

share|improve this answer

If it is a sql script you are editing you can edit the file from a different application save changes, refresh and reload your results. That way your results can be in their own window.

I'm using sublime on one screen and SSMS on another with the results pane moved toward the top of the window.

One downside with this is that it doesn't auto-refresh when I save so I have to manually accept the changes made each time I save but it is not too bad.

share|improve this answer

At least in the newer Visual Studio 2015, you can use the interface to work against a database, and have the results vertically, to the right. Just work through the SQL Server Object Explorer, and open the script, or start a New Query. You'll find a small icon with a vertical line between the script, which will switch the results to a vertical orientation, buying you precious screen space, especially if you use an ultrawide, like I do.

enter image description here

share|improve this answer
Thanks Jarmund! – Null Pointer Expert Jul 14 at 4:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .