D
Dave
This works fine in T-SQL...
DELETE FROM orders
FROM Orders AS o INNER JOIN [order details] AS od ON rderID =od.OrderID
WHERE od.ProductID=2
Yet in Access, the following gives me the error message "Specify the table
containing the records you want to delete"....
DELETE o.orderid,*
FROM Orders AS o INNER JOIN [order details] AS od ON rderID = od.OrderID
WHERE od.ProductID=2;
How do I write a DELETE query in Access SQL using a JOIN?
DELETE FROM orders
FROM Orders AS o INNER JOIN [order details] AS od ON rderID =od.OrderID
WHERE od.ProductID=2
Yet in Access, the following gives me the error message "Specify the table
containing the records you want to delete"....
DELETE o.orderid,*
FROM Orders AS o INNER JOIN [order details] AS od ON rderID = od.OrderID
WHERE od.ProductID=2;
How do I write a DELETE query in Access SQL using a JOIN?