Subject Re: [firebird-support] Transaction number discrepancy
Author Vlad Khorsun
> A transaction can get its own server-side transaction ID via the
> context variable CURRENT_TRANSACTION but otherwise it won't know
> it. It can't get the IDs of other transactions.

Or via isc_transaction_info call passing isc_info_tra_id.

It is present since at least IB6

Regards,
Vlad