Skip to main content
CANCEL EXPORT cancels a given data unloading job. Unloading jobs with the state CANCELLED or FINISHED cannot be canceled. Canceling an unloading job is an asynchronous process. You can use the SHOW EXPORT statement to check whether an unloading job is successfully canceled. The unloading job is successfully canceled if the value of State is CANCELLED. The CANCEL EXPORT statement requires that you have at least one of the following privileges on the database to which the given unloading job belongs: SELECT_PRIV, LOAD_PRIV, ALTER_PRIV, CREATE_PRIV, DROP_PRIV, and USAGE_PRIV. For more information about privilege descriptions, see GRANT.

Syntax

Parameters

Examples

Example 1: Cancel an unloading job whose query ID is 921d8f80-7c9d-11eb-9342-acde48001121 in the current database.
Example 2: Cancel an unloading job whose query ID is 921d8f80-7c9d-11eb-9342-acde48001121 in the example_db database.