• Thanks for your answer,

    I am not a developer so I have not checked the code yet.

    Do you mean if the query is being part of a transaction (ttsbegin -ttscommit) ?

    Are you thinking that the faulty transaction is not the one I see in SQL ?

    Thank you