|
|
The TERMINATE QUERY statement terminates a running QUERY.
ISQL or Application Programs
TERMINATE QUERY FOR {CID ConnectionID
XID TransactionID}
- CIDConnectionID
identifies a specific connection in which the 'query'
to be terminated is running.
- XIDTransactionID
identifies a specific transaction in which the 'query'
to be terminated is running.
You can terminate a query, if it is your own query, or if
you have DBA authority. Also the TERMINATE AT QUERY LEVEL option
must have been set for the specified connection or transaction.
See SET TRANSACTION or SET SESSION for more information on the
TERMINATE AT QUERY LEVEL option.
TERMINATE QUERY FOR CID ConnectionID3
|