Skip to main content
The DROP TRIGGER statement drops a trigger.

Required privileges

To drop a trigger, the user must be the owner of the table on which the trigger is defined.

Synopsis

drop_trigger syntax diagram

Parameters

Examples

Setup

To follow along, run cockroach demo to start a temporary, in-memory cluster with the movr sample dataset preloaded:

Drop a trigger

Create a sample trigger function:
Create a sample trigger:
Drop the trigger:

See also