April 17, 2014 1 min read
Ignore Foreign Key Constraints During Truncate or Drop
If you are trying to drop/delete or empty/truncate a mysql table and you keep getting an error that you are violating a foreign key constraint, you may want to temporarily ignore that constraint. The code below demons...
How To'sProgramming Guides