, , last_updated_by , . , , , .
A trigger is the only method you can use to do this. And to those who said that triggers are evil, no, they are not. They are the best way — to date — to maintain data integrity, which is more complex than a simple standard or restriction. They really should be written by people who really know what they are doing, though. But then this applies to most things that affect the design and integrity of the database.
Hlgem source
share