I have an InnoDb table with a named UNIQUE CONSTRAINT. The constraint has been created with an ALTER TABLE script:
ALTER TABLE MyTable
ADD CONSTRAINT UN_MyTable UNIQUE (field1);
Now I need to add field2 to the constraint with an ALTER script to update old databases (I can't drop and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.