Jump to content

[SOLVED] question about cascade rule


isaac_cm

Recommended Posts

Hello,

I have 3 table Main_category, sub_category, products

main_category and sub_category is a master detail relation with cascade rule

products table is related to both previous tables

 

And I set two foreign keys one for main_category (cascade) the second for sub_category (cascade) , so is right or I have to make 1 foreign key to the sub_category ?

 

and if modification happened to main_category like changing id number is this modification will be reflected in sub_category and products tables as well ?

 

plz advice

thanks

Link to comment
https://forums.phpfreaks.com/topic/62675-solved-question-about-cascade-rule/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.