NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
If they are readonly... (Score:1)
Can you convert the old tables to back-compatibility views on the new table(s)?
BTW, that essay was in the actual MySQL documentation. And it was removed, of course, once foreign key constraints were added.
Re: (Score:2)
We have no desire to add views to provide backwards-compatibility. This should (usually) be considered a "last resort" because otherwise, you layer on view after view every time you want to change a feature and thing become a mess. Plus, they're willing to make the switch, just not yet.
Missing Essay (Score:1)
The Wayback Machine to the rescue [archive.org]. It's even worse than I remember it:
Re: (Score:2)
Thanks Smylers. Wow, I remember that essay being:
I really like the bit about:
FOREIGN KEY constraint checks are useless because you usually insert records in the right tables in the right order
.
But they don't totally trash foreign keys! In fact, they make it clear that their is one (and only one) good reason for them.
The only nice aspect of FOREIGN KEY is that it gives ODBC and some other client programs the ability to see how a table is connected and to use this to show connection diagrams and to help in building applicatons (sic).
Thanks for starting my day off with a laugh :)
Re: (Score:1)
That’s probably because there also exists a later revision of that page [archive.org] that stayed around for much longer. The first, short, really stupid version lasted 10 months before it was replaced with the tempered version that stayed around for 4 years.