Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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
1  
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 at 7:29
show 14 more comments

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.