I am new to Oracle and continue to have problems creating triggers. I am using the OE schema and Oracle product_information table to get experience with triggers. I want to create a trigger on the Product_Information table that fires on the update of the table. The trigger should not allow a new list price be less than minimum price. Depending on product status price can be reduced
under development for no more than 15%
planned no more than 10%
obsolete can't be reduced at all
orderable no more than 5%
This trigger allows any price increase.
I've tried a couple of ways of doing this with no luck. Are there any suggestions on the approach I should use? Thanks so much.
under development for no more than 15%
planned no more than 10%
obsolete can't be reduced at all
orderable no more than 5%
This trigger allows any price increase.
I've tried a couple of ways of doing this with no luck. Are there any suggestions on the approach I should use? Thanks so much.