R Rkelly101 New member Local time Today, 09:17 Joined Mar 2, 2007 Messages 3 Mar 2, 2007 #1 Is their a way to edit the following query so that it will delete from more than one table? DELETE FROM tblSample Or do I need to write a seperate query for each table I want to delete?
Is their a way to edit the following query so that it will delete from more than one table? DELETE FROM tblSample Or do I need to write a seperate query for each table I want to delete?
KeithG AWF VIP Local time Today, 09:17 Joined Mar 23, 2006 Messages 2,591 Mar 2, 2007 #2 Are the other tables releated to this one? If so do you have cascade deletes inforced?
R Rkelly101 New member Local time Today, 09:17 Joined Mar 2, 2007 Messages 3 Mar 2, 2007 #3 Some are related but others arnt related. I was hoping I could get away with writing one command to clean out the selected tables from the database.
Some are related but others arnt related. I was hoping I could get away with writing one command to clean out the selected tables from the database.
KeithG AWF VIP Local time Today, 09:17 Joined Mar 23, 2006 Messages 2,591 Mar 2, 2007 #4 you could create multiple queries and use a macro of VBA to run them all
mhartman Dr. Data Local time Today, 09:17 Joined Jun 5, 2006 Messages 441 Mar 2, 2007 #5 Hello: How about the below solution. It works better! http://support.microsoft.com/kb/210307/en-us Regards Mark
Hello: How about the below solution. It works better! http://support.microsoft.com/kb/210307/en-us Regards Mark