Re:SQL is 43 years old – Here’s why we still use it today
by hackits on Tuesday May 02, 2017 @11:27AM
(#14247146)
Most of the time when business logic is put into triggers it turn into a disaster. Even Oracle recommends only putting simple logic within triggers and for the most part should only be used for auditing purposes.
For example too many times I've updated a record with a new column value only to find out that the value I've updated because of some trigger caused the value to be set to null.
For example too many times I've updated a record with a new column value only to find out that the value I've updated because of some trigger caused the value to be set to null.