Delete Cascasde is not working
rows are deleting from child even we use delete cascade. Please help if anything can be added to delete the child table rows when we delete from parent table.
Shall we read "rows are NOT deleting from child..." where it says "rows are deleting from child..."?
Do you have a FK on child table pointing to the parent table?
Please post DDL fort both tables , also post the delete statement.
Pablo (Paul) Berzukov
Author of Understanding Database Administration
available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Yes, we can read rows from the child. and we have a FK on child table pointing to parent table.I am sorry i cant upload DDL's due to restrictions.
thank you, Pablo for checking
Click Here to Expand Forum to Full Width