Refactoring Databases - Evolutionary Database Design

Add Foreign Key Constraint

Add a foreign key constraint to an existing table to enforce a relationship to another table.



Example

Add Foreign Key Constraint Example

For more information see page 204 of Database Refactoring