> For the complete documentation index, see [llms.txt](https://docs.tableplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tableplus.com/gui-tools/working-with-table/trigger.md).

# Trigger

## **Create trigger**

* Open the table structure view (**`⌘ + ^ + ]`**).
* Click on the **`Triggers`** button near the top right of the structure view.
* Click on the **`+ Trigger`** button or double click on the blank row.
* Specify the trigger's attributes and write the trigger statement.
* Press **`⌘ + S`** to commit changes to the server.

![](https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LrsZ99VRfWStSYOrBOk%2F-Lrt5AD9ZpDKIeuiGwfN%2Ftrigger.png?alt=media\&token=8c77b6fa-6345-4526-91bc-a53b6fad5a6b)

## **Edit trigger**

* Open the table structure view (**`⌘ + ^ + ]`**)
* Click on the **`Triggers`** button near the top right to see all existing triggers.
* Double click on trigger's attribute and edit inline.
* Press **`⌘ + S`** to commit changes to the server.

## **Delete trigger**

* Open the table structure view (**`⌘ + ^ + ]`**).
* Click on the **`Triggers`** button near the top right to see all existing triggers.
* Select the trigger and press Delete key, or right click and choose Delete.
* Press **`⌘ + S`** to commit changes to the server.
