Last week, I posted a message related to this. Heikki (InnoDB Developer) said "sorry, DROP CONSTRAINT is not implemented yet."
----- Original Message ----- From: "kayamboo" <[EMAIL PROTECTED]> To: "list mysql" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 2:45 PM Subject: drop constraint in innodb > sql, query > > > Hi Folks > > ALTER TABLE main_db ADD CONSTRAINT FOREIGN KEY( Code, Kana) REFERENCES > Syoyu_db( Code, Kana) ON DELETE CASCADE ; > > works fine. > > But how to drop the constraint or modify the constraint ? > Simply changing ADD to DROP or MODIFY throws errors > > > regards > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php