hi,
two tables are related with respect to primary-foreign key relation.
table1 primary table
table2 secondary table
my question is, should i allow user to delete record in a table1 which do have child records in table2. Ofcourse, for this i have to implement instead of delete trigger.
What is considerd a normal behaviour. Should he be refused to delete parent record and, if he really wants to delete it then he has to first delete all child records from table2 then he would be allowed to delete parent record from table1.
What do you think ???
Bye
miq
two tables are related with respect to primary-foreign key relation.
table1 primary table
table2 secondary table
my question is, should i allow user to delete record in a table1 which do have child records in table2. Ofcourse, for this i have to implement instead of delete trigger.
What is considerd a normal behaviour. Should he be refused to delete parent record and, if he really wants to delete it then he has to first delete all child records from table2 then he would be allowed to delete parent record from table1.
What do you think ???
Bye
miq