, " " - , " no-nos".
, .
- , , , - .
- " " - , ; , . , , " " - , - . - , - , , .
There are problems that are best (or even only) solved with triggers - forced referential integrity is a classic. There are problems that are often solved with triggers that make me nervous - especially when they reflect business rules or using an audit table. There are problems that, in my opinion, are too close to the trigger caused by the triggers, for example, calculations in the business domain (for example, calculating the amount of tax to be sold).
source
share