DIY primary/foreign key relationships, again

Posted by Bob_Mesibov on Mar 3, 2021 6:38 AM EDT
BASHing data
Mail this story
Print this story

One table has a primary key field and the other has a foreign key field that should refer back to the first table. This isn't always the case, because the tables don't't always come from a database with referential integrity. Sometimes the two tables have their primary and foreign keys entered manually. This post describes a shell script that checks for this and related problems.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.