Hi team,
I read blog
And found the below context
"Example of Cascade + Restricted
Suppose we have three tables (Person ,
Customer &
Order).
Now Person is a parent of Customer table, and
Customer is a parent of Order table having (One-To-Many) relations –
If I set a Delete action property on Person table (Parent table) to “CASCADE” for customer table and
If I set a Delete Action property on a CUSTOMER table (Parent table) for Order table to “CASCADE +RESTRICTED”.
So if I delete a record from Customer table (Parent table) then It will first check the record in the child table (Order table) and if exist that warning prompt saying that first we need to delete a record from child table.
But if I delete a record from Person table (Parent table)it will automatically delete a record in Customer table and all records related to customer table in Order table would also be deleted.
Here my question is :
How order table record will delete?
It has delete action “cascade+restricted”
Pls advise, thanks