There is 4 cases: (For example I'm talking about ON DELETE)
CASCADE: the referencing rows will be deleted automatically along with the referenced ones.SET NULL: the value of referencing record will be set toNULLautomatically along with the referenced ones.NO ACTION: There will not be any change in the the referencing rows when the referenced ones are deleted.RESTRICT: { I cannot understand its concept }
I read the documentation several times for that, but still I cannot understand what RESTRICT does. May you please someone explain it by an example?
I read somewhere NO ACTION and RESTRICT are the same in MySQL. Is that true?