DROP TRIGGER drops a .
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
DROP TRIGGER drops a .
| Parameter | Description |
|---|---|
trigger_name | The name of the trigger to drop. |
table_name | The name of the table associated with the trigger. |
$ cockroach demo
CREATE FUNCTION update_timestamp()
RETURNS TRIGGER AS $$
BEGIN
RAISE NOTICE 'Current timestamp: %', now();
RETURN NEW;
END;
$$ LANGUAGE PLpgSQL;
CREATE TRIGGER log_update_timestamp
AFTER UPDATE ON users
FOR EACH ROW
EXECUTE FUNCTION update_timestamp();
DROP TRIGGER log_update_timestamp ON users;
