Quantcast
Channel: Answers for "How can I deliberately crash a SQL service?"
Browsing latest articles
Browse All 14 View Live

Answer by Tim

The easiest way is to just stop the service either in services or by issuing a net stop command. If this is a local developer edition move master to an external drive and then pull the drive out, that...

View Article


Answer by Shawn_Melton

Kill it all: Stop-Process -Name ****SQL**** -Force -WhatIf Just remove the "-WhatIf" to really do it :) **Edit** Reversable? Hmmm...don't do this on production server :) In order to crash the service...

View Article


Answer by KenJ

+1 A task manager Kill will get it done, too.

View Article

Answer by Amardeep

SQL SERVER CONFIGURATION MANAGER is also good tool to stop and start all SQL Services.

View Article

Answer by Håkan Winther

Limit the size of tempdb and create a large temp table to fill the tembdb would also do it.

View Article


Answer by WilliamD

you can use the Sqlclr to do this, Matt Whitfield talked about it at SQLBits in Brighton. You have to allow unsafe CLR on the instance/database, then run a C# command to kill a process(don't know C# or...

View Article

Answer by Fatherjack

I would expect that a PowerShell script could kill a process. I'm not a PoSh guy so couldnt give you the script I'm afraid. Sure the Googles will help you

View Article
Browsing latest articles
Browse All 14 View Live