ALTER TRIGGERSection: SQL Commands (7)Updated: 2003-11-02 |
ALTER TRIGGERSection: SQL Commands (7)Updated: 2003-11-02 |
ALTER TRIGGER name ON table RENAME TO newname
ALTER TRIGGER changes properties of an existing trigger. The RENAME clause changes the name of the given trigger without otherwise changing the trigger definition.
You must own the table on which the trigger acts to be allowed to change its properties.
To rename an existing trigger:
ALTER TRIGGER emp_stamp ON emp RENAME TO emp_track_chgs;
ALTER TRIGGER is a PostgreSQL extension of the SQL standard.