I have a database where I need to drop some foreign keys, but I don\'t know beforehand whether the foreign keys still exist.
I\'ve found some stored procedures (http
Why don't You use the table "INFORMATION_SCHEMA" to this?
SELECT * FROM information_schema.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'FOREIGN KEY'