Re: Pre-DML trigger vs Foreign keys
<opinion>
A database is a data store, not a programming language. Do not but that much "business logic" in a trigger.
That is, you are both wrong. Use PHP (or whatever), not FKs, Triggers, SPs, etc.
Build an interface to the database; have it do the testing. Use MySQL for the values, not for the logic.
</opinion>
Subject
Views
Written By
Posted
2097
June 22, 2012 10:18AM
1053
June 23, 2012 01:56PM
985
June 23, 2012 03:39PM
Re: Pre-DML trigger vs Foreign keys
1117
June 23, 2012 05:18PM
1060
July 01, 2012 11:13PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.