Foreign keys - temporarily bypass?

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-04-30T19:05:14Z Indexed on 2010/04/30 19:17 UTC
Read the original article Hit count: 159

Hi,

I have just started to learn about the pros of foreign keys in database design (mySQL / innoDB) and I wonder if there's any way to temporarily bypass the foreign key when doing a specific delete query, to just delete in the parent table, and not from the linked child tables.

Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about foreign-keys