June 2010
Intermediate to advanced
328 pages
7h 51m
English
The Japanese phrase poka-yoke means “mistake-proofing.”[7] This term refers to a manufacturing process that helps eliminate product defects by preventing, correcting, or drawing attention to errors as they occur. This practice improves quality and decreases the need for correction, which more than makes up for the cost of its use.
You can apply the poka-yoke principle to your database design by using foreign key constraints to enforce referential integrity. Instead of searching for and correcting data integrity mistakes, you can prevent these mistakes from entering your database in the first place.
| Keyless-Entry/soln/foreign-keys.sql | |
| | CREATE TABLE Bugs ( |
| | -- . . . |
| | reported_by BIGINT UNSIGNED NOT ... |
Read now
Unlock full access