(see attached file)
I have two tables HEADER and DETAIL linked by an external key
I need to have the following integrity:
1. Don't allow to insert DETAILS if doesn't exist the HEADER with the
same
key.
2. Delete in cascade all DETAILS if one cancel the HEADER having the
same key.
3. UPDATE in cascade the key of all DETAILS if one change the HEADER
key.
-Jose'-