Subject RE: [Firebird-Architect] Re: rdb$db_key in either XSQLDA or XSQLVAR
Author Claudio Valderrama C.
Roman Rokytskyy wrote:
>> Why in god's name do you want the record version????
>
> According to Nickolay, absense of version might cause "lost update"
> (overwrite newer version of the record) in read committed isolation.

AFAIK, DSQL requests the record version but it does nothing with it that I
can remember and it doesn't pass it to the client.

Do you want it returned in some unused XSQLDA field?
:-)

Internally,
impure->vlu_misc.vlu_long = rpb->rpb_transaction_nr;
that means the recod version will be taken from the txn id.

C.