How to clean out multiple tables with one Query?

Rkelly101

New member
Local time
Today, 09:17
Joined
Mar 2, 2007
Messages
3
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?
 
Are the other tables releated to this one? If so do you have cascade deletes inforced?
 
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.
 
you could create multiple queries and use a macro of VBA to run them all
 

Users who are viewing this thread

Back
Top Bottom