Quantcast
Channel: Questions in topic: "sql-agent"
Viewing all articles
Browse latest Browse all 80

How can I deliberately crash a SQL service?

$
0
0
(I *thought* that would get your attention!) I had a SQL Agent service stop unexpectedly and I didn't find out for a couple of days. So I've found out from a previous question how to set up a PowerShell script to run when the service crashes. The script sends me an email and works fine when I run it, but who knows what context it will run under if this really happens and whether the email will still be sent. So do you know how I can deliberately crash one of the SQL-related services on a 2008 R2 instance please? Any of them would do: SQL Server, SQL Agent, Reporting Services etc. Be as diabolical as you like but something that's reversable!

Viewing all articles
Browse latest Browse all 80

Latest Images

Trending Articles



Latest Images