How do I create triggers in Sqlite that use procedural code?
You can create a trigger in usual PL/SQL syntax using ‘Create Trigger’ statement. Just put the ‘Create Trigger’ statement in the initialization block of your package body. The trigger body can use all the procedures and functions defined within the package. Special variables :New and :Old can be used in the trigger body. Here is an example of how to write a trigger.