Is there a way to automate SSMS to automatically save down all current open tabs into a folder with a timestamp?

Whilst I'd like to save every single useful ad-hoc query ever written with a nice understandable name, I often don't have time and this would be rather useful


  • By saving all tabs, wouldn't you also save the non-useful queries? :)
    – JHFB
    May 30, 2012 at 11:22
  • why would I write queries that were not useful?! Feb 10, 2016 at 13:10

1 Answer 1


Actually I think that you simply nedd statement logging. Try ssmstoolspack.

In meantime, my add-in SSMSBoost does a lot of logging as well: editor contents history, tabs history, execution statements history...

  • Yep that stores tab history automatically. May 30, 2012 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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