Is there any other way to do this in a table with thousands of records.
----- Original Message ----- From: "Heo, Jungsu" <[EMAIL PROTECTED]> To: "kayamboo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 8:50 PM Subject: Re: drop constraint in innodb > 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 > --------------------------------------------------------------------- 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