Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
I see what you mean, I confess I have only glanced at the RI code.
My next thought was "well I could write my own RI code which has the behaviour I want".
Followed by another thought "What the hell I will do it the same way as everybody else" :)
Thanks Jim
>Mark,
>
>Stop a second and think about this problem. If you SET DELETED OFF in the RI code how would the RI code find a deleted parent record that needed to be cascaded or restricted? Also what about the multilevel RI issues like Parent ---> Child ---> Grandchild where the Child ---> Grandchild is set to cascade. With deleted off how would the code ever see a deleted child record?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement