Subject | RE: [firebird-support] Type of rdb$db_key |
---|---|
Author | Helen Borrie |
Post date | 2004-01-26T11:38:28Z |
At 10:29 PM 26/01/2004 +1100, you wrote:
together. (Really, each rdb$db_key is 16 hex digits, a combination of the
page id and the offset of the record on the page).
But seriously, Claudio is the one who has done all the research. Read his
articles at www.cvalde.net
/hb
> > CHAR(n) CHARACTER SET OCTETS, where n = 8 * the number of tables involvedYes, tables. When you join tables, the 8-byte rdb$db_keys are concatenated
> > in the set.
> >
> > Not true that you can't pass it around stored procedures. It will remain
> > stable for the duration of your transaction, *inside your
> > transaction*. Just don't use it to update the rdb$db_key of any
> > other table!
> >
> > /hb
>
>8 * the number of tables? not fields?
together. (Really, each rdb$db_key is 16 hex digits, a combination of the
page id and the offset of the record on the page).
>Anyway - what would you use it for?;-) Read my forthcoming book - it's an optimization topic in chapter 22.
But seriously, Claudio is the one who has done all the research. Read his
articles at www.cvalde.net
/hb