Hi
I have access 2003 database, which is running fine.
I have two table Staff and StaffAddress. At the moment there is no contrain and data in StaffAddress gone bed. I want to put constrain on this two tables ie 1-to-many from Staff to StaffAddress. But it doesn.t allow me to do that. Because there are records in table StaffAddress, which has no related record in Staff table. So I want to delete them.
Is there any way I can just delete record from StaffAddress which has no link in staff.
Please could help me and provide sql for it.
Many thank
I have access 2003 database, which is running fine.
I have two table Staff and StaffAddress. At the moment there is no contrain and data in StaffAddress gone bed. I want to put constrain on this two tables ie 1-to-many from Staff to StaffAddress. But it doesn.t allow me to do that. Because there are records in table StaffAddress, which has no related record in Staff table. So I want to delete them.
Is there any way I can just delete record from StaffAddress which has no link in staff.
Please could help me and provide sql for it.
Many thank