D
Dave
DELETE o.orderid,*
FROM Orders AS o INNER JOIN [order details] AS od ON o.OrderID = od.OrderID
WHERE od.ProductID=2;
Using Northwind, when I type the above into the SQL window, I get the
message "Specify the table containing the records you want to delete."
I get the same error with:
DELETE *
If I use:
DELETE o.*, od.*
I get the error "Could not delete from specified tables."
HELP indicates the database tables are read only. They are not. I can get
the delete to work with a subquery.
How do I write a DELETE in Access that uses a JOIN?
FROM Orders AS o INNER JOIN [order details] AS od ON o.OrderID = od.OrderID
WHERE od.ProductID=2;
Using Northwind, when I type the above into the SQL window, I get the
message "Specify the table containing the records you want to delete."
I get the same error with:
DELETE *
If I use:
DELETE o.*, od.*
I get the error "Could not delete from specified tables."
HELP indicates the database tables are read only. They are not. I can get
the delete to work with a subquery.
How do I write a DELETE in Access that uses a JOIN?