Home | Previous Page | Next Page   Descriptor Function Reference > Descriptors >

Row-ID Descriptor

A particular row identifier can appear in multiple fragments. For example, row 1 in fragment A describes a different customer than row 1 in fragment B. The unique fragment identifier enables the database server or access method to locate the correct row 1.

A secondary access method sets these values in a row-ID descriptor, or MI_AM_ROWID_DESC structure, during an index scan. The following functions set data in the row-ID descriptor.

Accessor Function
Value Set
mi_id_setrowid()
The row identifier
mi_id_setfragid()
The fragment identifier

The database server fills the row-ID descriptor when it calls:

The following accessor functions extract information from the descriptor.

Accessor Function
Return Value
mi_id_rowid()
The row identifier
mi_id_fragid()
The fragment identifier

The following system catalog information describes a fragment identifier:

For detailed information about system catalog tables, refer to the IBM Informix: Guide to SQL Reference.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]