MySQL Forums
Forum List  »  InnoDB

Re: Basic question about coding with FKs
Posted by: Peter Brawley
Date: September 21, 2008 10:56AM

The purpose of FKs is not to make aop code simpler. The purpose is to enforce referential integrity at the database level, ie to enforce RI such that no user or app can break it.

If the DB does it, the app doesn't have to, Therefore app code tends to be simpler as a side-effect.

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Views
Written By
Posted
4646
September 03, 2008 12:42PM
3304
September 11, 2008 01:40PM
Re: Basic question about coding with FKs
3278
September 21, 2008 10:56AM


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.