OLD
Record with the initial values of a row before update or delete
PSQL — triggers only,
DSQL — RETURNING
clause of UPDATE
, UPDATE OR INSERT
and MERGE
Record type
OLD.column_name
Parameter | Description |
---|---|
column_name |
Column name to access |
OLD
contains the existing version of a database record just before a deletion or update.The OLD
record is read-only.
Note
|
In multi-action triggers |