Delete all rows in 2 tables with the same query

  • Thread starter Thread starter Hank Rouse
  • Start date Start date
H

Hank Rouse

DELETE *
FROM TEMP_IMPORT;

Which of course works, but what is the syntax for adding TBL2?

Thanks in Advance.
 
Hank said:
DELETE *
FROM TEMP_IMPORT;

Which of course works, but what is the syntax for adding TBL2?

Thanks in Advance.

AFAIK you cannot delete from two tables with a single statement. Unless of
course referential intregrity cascades deletes to another table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top