In mySQL 5, is there a way to drop all foreign key constraints on a table with one SQL statement without referring to them by name?
I'm writing a DB update script, and unfortunately some of the sites had constraints created with "wrong" names. I'm trying to avoid going in and getting the actual constraint names from the DB and inserting them back into SQL statements.