That is not correct, it is a valid DSQL statement. The issue is that
statement `SET TRANSACTION` must be executed with an invalid transaction
handle (IIRC, -1), and the new transaction handle is returned in the
object handle field of the generic response.
If a `SET TRANSACTION` is executed with a normal transaction handle, it
produces error "invalid transaction handle (expecting explicit
transaction start)". So, given statements in the provider are always
executed with a transaction, this error occurs.
Mark
--
Mark Rotteveel