If I do this
ALTER TABLE `table`
ADD CONSTRAINT `FK_table`
FOREIGN KEY (`IDtable`)
REFERENCES `table2` (`ID`)
ON UPDATE CASCADE;
What is default behavior for ON DELETE? Is it restrict, cascade, set null?
If I do this
ALTER TABLE `table`
ADD CONSTRAINT `FK_table`
FOREIGN KEY (`IDtable`)
REFERENCES `table2` (`ID`)
ON UPDATE CASCADE;
What is default behavior for ON DELETE? Is it restrict, cascade, set null?