Could someone post an example of an insert trigger? These are my assignment instructions: The Triggers Write a trigger on the UPDATE action of the INVENTORY table (UpdateInventoryTRG.sql). This trigger checks to see if there is enough stock on hand to meet the new line item quantity. If the Stockqty new.Stockqty) is insufficient, raise an exception. This requires that you declare a user defined exception in the UPDATE trigger and also in any module where you wish the exception to be raised. Write a trigger on the INSERT activity of the ORDERITEMS table (InsertOrderitemsTRG.sql). In this trigger you will determine the value of the column named Detail, which is one more than the last Detail for that Orderid (remember to code for no existing detail lines too). One of the beauties of Oracle triggers is that you can assign a value to a column new.Detail) of the newly inserted row. You can access the new row inside the trigger. Also, in this trigger you will perform the UPDATE to the INVENTORY table that reduces the Stockqty of the Partid being ordered by the amount in the new line item. Exception handling must be included here. I have not worked with triggers before so I am a bit lost.