Is there a way to play a sound when a query is finished executing

I was wondering if there was a way to play a sound after a query has finished executing in SQL server 2005?


Solution 1:

If you are using SQL Server Management Studio (or Express) you can get it to beep:

Tools -> Options -> Query Results -> Play the Windows default beep when a query batch completes

SQL Server Management Studio Beep