I’m wondering what does represent CASCADE when defining relations in InnoDB?
I see it’s something related to actions: ON DELETE & ON UPDATE.
Do I have to set it to CASCADE on every relation in my tables?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If a row is deleted and one of its member is foriegn key elsewhere then then all rows in all tables which reference it as foreign key are also deleted.
Read: http://en.wikipedia.org/wiki/Foreign_key