Only user processes can be killed

Error Message:
Msg 6107, Level 14, State 1, Line 1
Only user processes can be killed.

Severity level:
14.

Description:
This error message appears when you try to terminate a system process via the KILL command.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity Level 14 are generated by the user and can be fixed by the SQL Server user. System processes cannot be terminated via KILL

Versions:
All versions of SQL Server

Example(s):
KILL 1

Remarks:
In the above example we try to terminate the process-ID 1 via KILL. Because this ID is reserved for system processes, the error is raised.

]]>

Leave a comment

Your email address will not be published.