R
Roy
Using Access 97
I need to delete the records in TableA that don't have
corresponding records in TableB. Here's the SQL from the
query grid:
DELETE TableA.*, TableB.SKU
FROM TableA LEFT JOIN TableB ON TableA.SKU = TableB.SKU
WHERE (((TableB.SKU) Is Null));
When I preview the results, the query looks like it works.
When I run it, I get an error: Couldn't delete from
specified tables. The normal reason for the error is
permissions or the db is read-only for some reason. I
can't find where that's an issue in this case--I recreated
both tables from scratch to be sure. What am I missing?
I need to delete the records in TableA that don't have
corresponding records in TableB. Here's the SQL from the
query grid:
DELETE TableA.*, TableB.SKU
FROM TableA LEFT JOIN TableB ON TableA.SKU = TableB.SKU
WHERE (((TableB.SKU) Is Null));
When I preview the results, the query looks like it works.
When I run it, I get an error: Couldn't delete from
specified tables. The normal reason for the error is
permissions or the db is read-only for some reason. I
can't find where that's an issue in this case--I recreated
both tables from scratch to be sure. What am I missing?