How to make SSMS beep when a query is done?

The other day I’m sitting at my computer, and this comes across Twitter. ssms

Well the good news is that there’s no need to develop anything. SQL Server Management Studio can already do this for you. Simply open SSMS, then click on Tools > Options. In the Options window open Query Results > SQL Server and check the check box next to “Play the Windows default been when a query batch completes” and click OK.

ssms2

The next time you run a query (you might need to close all your query windows or restart SSMS, you usually do with this sort of change in SSMS) it’ll beep when the query is done.

Personally I’ve actually used this as an alarm clock when doing long running overnight deployments so that I’d get woken up when the script was done so I could start the next step. It’s also handy when you want to leave the room / your desk while queries are running.

Don’t forget to turn up the volume when leaving and turn it back down when you are done.

If you were wondering how long this feature has been in SSMS, I was first using it in Enterprise Manager, in SQL 2000.

Denny

The post How to make SSMS beep when a query is done? appeared first on SQL Server with Mr. Denny.

Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trust DCAC with your data

Your data systems may be treading water today, but are they prepared for the next phase of your business growth?