Posted on Monday, 3rd August 2009 by Balazs
One of the common data integrity issues that can happen in a database is the unintended deletion of a row. Here is how to create a DELETE trigger in PostgreSQL.
The example code below assumes you have a “customer_cus” table and a “customer_archive_cua” table with at least two fields. It is a good idea [...]
Tags: PL/PGSQL, PostgreSQL, SQL, Trigger
Posted in DB2, Technology | Comments (Comments)