I have a SELECT which gets the primary key for the table and the column I want to update. It feeds an Output tool which is assigned to the table and the key is defined. When I set it to only WARN on failure, I see that the first row gets updated properly but then each subsequent row I get the following error:
Invalid Cursor state UPDATE dbo.Maintenance_Agreement SET next_billing_date=? WHERE maintenance_agreement_id = ?
Why would the first update work but each subsequent fail?
I have seen in some other posts to put a BEGIN and END in the pre/post SQL. That gives me an error altogether.
Thoughts?