Error Message:
Msg 6101, Level 16, State 1, Line 1
Process ID %d is not a valid process ID. Choose a number between 1 and %d.
Severity level:
16.
Description:
This error message appears when you try to terminate an invalid process-ID via KILL.
Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.
Resolution:
Error of the Severity Level 16 are generated by the user and can be fixed by the SQL Server user. The process-ID must be a valid one.
Versions:
All versions of SQL Server
Example(s):
KILL -1
Remarks:
In the above example is -1 beyond the range of valid process-Ids. This raises the error.