SELECT SQL Server SQL call?

I have a cameraman SELECTwho hangs and I would like to kill him. I access the server using the SQL GUI if that matters (not Microsoft).

Is there a command I can execute to kill this process?

I get this when using EXEC('Kill ' + Pid):

The KILL command cannot be used inside user transactions.

+1
source share
2 answers

You can try to execute the command KILL.

+3
source

KILL , , KILL . , OFFLINE BACKONLINE. .

DEATTACH, "overkill", , .

, , !

0

Source: https://habr.com/ru/post/1675301/


All Articles