sql - Delete Across Tables MS Access -
i trying delete records in 2 different tables. error message:
specify table containing records want delete.
the table msshipment
reference source records delete across both tables.
delete msshipment.boxnumber msshipment_boxnumber, medicalsort.boxnumber medicalsort_boxnumber msshipment inner join medicalsort on msshipment.[boxnumber] = medicalsort.[boxnumber];
you should consider setting referential integrity cascade deletes between msshipment , medicalsort.
this way when delete record msshipment, of detail records in medical sort deleted.
this happen time throughout application.
Comments
Post a Comment