No longer able to DELETE FROM from Database Read Reader (2 replies and 1 comment)
Please disregard. I have used a method where I mark the records as processed rather than delete them.
Thanks.
Mark, just to let you that there is a bug here, but two easy workarounds:
- Change the connection string from OleDB to ODBC OR;
- Alter the SQL Statement to return a value.
Change from:
delete from Customers
To
delete from Customers;
select "1" as "FakeID"
Thank you! This worked nicely.
Hello,
Prior to upgrading to v5.0, I was able to issue a DELETE to clear a SQL table's records. Using a Database Read Reader, my SQL statement was:
Delete
FROM dbo.ARInvoiceUpload
However, with v5.0 I get "Object reference not set to an instance of an object." error.
Is there a different, legal way to accomlish deleting all records from a temp table?
Thank you.