How to implement cascading deletion of records from two tables
This technique is very useful, handy and save you time for handling deletion of records from your code, say both from your header table and detail table. It also checks integrity, meaning, nothing left unwanted records for both tables if records is removed. To set up cascading deletes in MySQL, so that when a record […]