August 01, 1999 02:01 PM

SQL By Design: The Foreign Key

Rating: (0)
SQL Server Magazine
InstantDoc ID #5667
Use it to ensure table integrity
In a previous column, I talked about primary keys ("How to Choose a Primary Key," April 1999). This month, I cover the foreign key. A foreign key is an integral part of a relational database design. It establishes relationships between tables, and it makes possible the procedures that cross-reference data stored in separate tables in the database. It enforces data integrity rules and prohibits modifications that might compromise data inte...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Denormalizing data to make it more accessible to users is not required. Just create views instead.

bubbagump1/25/2005 7:32:25 AM


MySQL doesn't support FOREIGN KEY yet (except InnoDB). They plan to in version 5.1.

Paul Lammertsma 5/15/2004 9:54:14 AM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS