Subject RE: [firebird-support] rowid?
Author Moravecz László (eMeL)
Hi,

It's an own UDF function:

//------------------------------------------------------------------------------
-----

int eMeL_DBKey2RowNum(char * str8bytes)
{
int * ipLow = (int *)(str8bytes + 4);
return *ipLow;
}
//------------------------------------------------------------------------------
-----

declare external function eMeL_DBKey2RowNum cstring(8)
returns integer by value
entry_point '_eMeL_DBKey2RowNum' module_name 'IB_eMeL.dll';

//------------------------------------------------------------------------------
-----

select eMeL_DBKey2RowNum(RDB$DB_KEY) as EMEL_ROWNUM from XXXTABLE;

//------------------------------------------------------------------------------
-----

Please read of limitations of RDB$DB_KEY (for example valid only in living
transaction).

eMeL

> -----Original Message-----
> From: apribek [mailto:apribek@...]
> Sent: Tuesday, October 14, 2003 1:25 PM
> To: firebird-support@yahoogroups.com
> Subject: [firebird-support] rowid?
>
>
> Hi there,
>
> is there by chance a (hidden) unique record identifier for the
> tables, similar to the Oracle rowid?
>
> Cheers
> Adam