Requests termination of the specified session.
SyntaxSESSION KILL unitysessionid ;
- Specifies the session ID for termination.
For sessions associated with managed routing rules, this command does not abort in-flight requests. If there is an in-flight request, the session kill occurs once the current request is complete. Session kill commands are tracked in the audit log.
For sessions associated with passive routing rules, the command issues an async abort if there is an in-flight request. The session is closed when the current running query (if any) returns.
SESSION KILL 1001;