mi_integer mi_tab_id(MI_AM_TABLE_DESC *tableDesc)
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.
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.