mysql Delete and Database Relationships

Posted by Colin on Stack Overflow See other posts from Stack Overflow or by Colin
Published on 2010-05-08T02:57:25Z Indexed on 2010/05/08 3:08 UTC
Read the original article Hit count: 451

If I'm trying to delete multiple rows from a table and one of those rows can't be deleted because of a database relationship, what will happen?

Will the rows that aren't constrained by a relationship still be deleted? Or will the entire delete fail?

Thanks, Colin

© Stack Overflow or respective owner

Related posts about mysql

Related posts about foreign-key-relationship