The mi_tab_id() accessor function

The mi_tab_id() function retrieves the table identifier from the table descriptor.

Syntax

mi_integer mi_tab_id(MI_AM_TABLE_DESC *tableDesc)
tableDesc
Points to the table descriptor.

Usage

The access method can call the mi_tab_id() function to determine the unique identifier that the systables system catalog table associates with the virtual table.

Return values

The return value identifies the table to the database server in the tabid column of the systables or sysfragments system catalog table.

The table identifier is identical for each fragment in the table.