Posted by Jim C on 11/28/06 22:09
I don't believe in foreign keys.
Just kidding!
You are right, and yes that would be nice to have foreign keys and get
all the benefits of cascaded deletes and actual database enforced
integrity. Lots of heavy lifting to do to bring this app to that
point.
One can dream.
"We don't have time to stop for gas, we're already late."
Robert Klemme wrote:
> On 28.11.2006 17:51, Jim C wrote:
> Hm, I smell data inconsistency here. You certainly do not have foreign
> keys on that id column, do you? Otherwise the DB would force you to
> first insert the record that gets the id and then dependent records.
[Back to original message]
|