Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • that essay was in the actual MySQL documentation. And it was removed, of course, once foreign key constraints were added.

    The Wayback Machine to the rescue [archive.org]. It's even worse than I remember it:

    There are so many problems with foreign key constraints that we don't know where to start:

    • Foreign key constraints make life very complicated ...
    • Thanks Smylers. Wow, I remember that essay being:

      • Longer
      • Not so full of the Dumb

      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 :)