is there a script that can be used to enable cascaded deletion for existing tables.
Thanks.
is there a script that can be used to enable cascaded deletion for existing
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TABLE_NAME: name of the table where the children are stored.PARENT_TABLE_NAME: name of the table where the parents are stored.This placeholders can be equal
FK_TABLE_NAME_PARENT_TABLE_NAME: just name for the constraintFOREIGN_KEY: field in the child table for the connection with the parents,for example - ParentIDPRIMARY_KEY: field in the parents table,for example - ID