tags:

views:

29

answers:

1

I created them, but I forgot which ones they are.

I just want to

  1. show them.
  2. remove all the constraints on a table.
+1  A: 
select distinct CONSTRAINT_NAME from information_schema.TABLE_CONSTRAINTS where CONSTRAINT_SCHEMA = 'mysql'
Paul Creasey