Appearance
CANCEL
Cancel a running query.
CANCEL query_idFor example:
premdb=# cancel 22669;
CANCELYou 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