sp_terminate

sp_terminate terminates an Open Server thread.

Syntax

server_name... sp_terminate spid [, options]

Parameters

Examples

Usage

Use sp_who or sp_ps to find the spid for the thread to be terminated.

Messages

spid terminated.

spid scheduled for termination.

spid not currently in use.

Related reference
sp_ps
sp_who