What are the virtual tables available during the execution of the database trigger?
Answer»
The THEN and NOW tables are the virtual tables that are available during the DATABASETRIGGEREXECUTION. The table columns are referred to as THEN.column and NOW.column respectively.
Only the NOW.column is available for insert-related TRIGGERS.
Only the THEN.column VALUES are available for the DELETE-related triggers.
Both the virtual table columns are available for UPDATE triggers.