Hi Declan,
As you are pointing out, the issue is with statements that affects zero rows, both delete and insert statements. The workaround we are using, is to add a IF statement to the SQL output, and only executing it there i a rowcount <> zero.
Workaround for
DELETE FROM [SCHEMA].[TABLE] WHERE X = Y would then be:
IF ( (SELECT COUNT(1) FROM [SCHEMA].[TABLE] WHERE X = Y) <> 0) BEGIN DELETE FROM [SCHEMA].[TABLE] WHERE X = Y ENDIt can be cumbersome to go trough all processes, especially for longer SQL statements. We have stopped upgrading any customers beyond 2.0.9.12 due to the issues. We are also seeing issues importing from some sources, using non-unicode data, where processes are taking 100x longer then before.
------------------------------
Emil Malmberg Fosdal
------------------------------