Delete Cascasde is not working
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Delete Cascasde is not working

Hybrid View

  1. #1
    Join Date
    May 2013
    Posts
    2

    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.
    thank you

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    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.

  3. #3
    Join Date
    May 2013
    Posts
    2
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width