next scenario:
myData table with ID's
1
2
3
MM table with
myDataID myChildID
1 ------- 4
1 ------- 78
9 ------- 56
3 ------- 12
2 ------- 1
3 ------- 12
Q: I delete in myData records with ID 1 and 3
Is there an SQL approach to either delete corresponding records in MM tabel as well or make an updatable view holding all records with deleted parent?
TIA
-Bart
myData table with ID's
1
2
3
MM table with
myDataID myChildID
1 ------- 4
1 ------- 78
9 ------- 56
3 ------- 12
2 ------- 1
3 ------- 12
Q: I delete in myData records with ID 1 and 3
Is there an SQL approach to either delete corresponding records in MM tabel as well or make an updatable view holding all records with deleted parent?
TIA
-Bart