Appearance
CANCEL
Cancel a running query.
CANCEL query_id
For example:
premdb=# cancel 22669;
CANCEL
You can select the query_id
from the sys.query
system view, or you can look it up in the SMC. See also Canceling Queries.
Parent topic:SQL Commands