Delete query referencing a pass-through results in error [Solved]
Here's the delete query:
The table called "LocalTable" stores a list of IDs I want to delete.
The query called "PassThroughQuery" is an ODBC passthrough query to a MySQL database that returns read-only data.
When I try to run the Delete query I get the error:
Could not delete from specified tables (Error 3086)
The LocalTable is definately NOT read-only.
I'm a bit stuck as to why this should be happening.
Any ideas what's going on?
I'd prefer avoid having to import the data from the passthorugh just so I can run this delete query if I can avoid it.
Thanks in advance for any help and suggestions.
M.
Here's the delete query:
Code:
Delete from LocalTable
where LocalTable.ID IN
(SELECT PassThroughQuery.ID FROM PassThroughQuery);
The table called "LocalTable" stores a list of IDs I want to delete.
The query called "PassThroughQuery" is an ODBC passthrough query to a MySQL database that returns read-only data.
When I try to run the Delete query I get the error:
Could not delete from specified tables (Error 3086)
The LocalTable is definately NOT read-only.
I'm a bit stuck as to why this should be happening.
Any ideas what's going on?
I'd prefer avoid having to import the data from the passthorugh just so I can run this delete query if I can avoid it.
Thanks in advance for any help and suggestions.
M.
Last edited: