510 views
0 votes
0 votes

1 Answer

0 votes
0 votes

ON DELETE RESTRICT means you can't delete a given parent row if a child row exists that references the value for that parent row. If the parent row has no referencing child rows, then you can delete that parent row

https://stackoverflow.com/questions/8072876/exact-meaning-of-mysqls-foreign-key-on-delete-restrict-clause#:~:text=2%20Answers&text=ON%20DELETE%20RESTRICT%20means%20you,can%20delete%20that%20parent%20row.

Related questions

0 votes
0 votes
1 answer
1
mukul maurya asked Sep 1, 2018
277 views
0 votes
0 votes
1 answer
2
mukul maurya asked Sep 1, 2018
1,097 views
0 votes
0 votes
1 answer
3
mukul maurya asked Sep 1, 2018
326 views
0 votes
0 votes
1 answer
4
mukul maurya asked Sep 1, 2018
529 views