Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
Old New Value « Trigger « Oracle PL / SQL
Oracle PL / SQL
Trigger
Old New Value
1.
Reference old and new value by column in a before update Trigger
2.
This trigger uses predicates to log changes to the myStudent table.
3.
These triggers demonstrate the use of the :new correlation identifier.
4.
Create a trigger with 'REFERENCING new AS'
5.
:old and :new Pseudo-records
6.
If updating and new value equals old value
7.
if ( updating or deleting ), if ( inserting or updating )
8.
Output new and old value in a before update trigger