The mi_tab_param_exist() accessor function

The mi_tab_param_exist() function retrieves the index-configuration parameters that are available for one of multiple indexes that consist of the same key columns.

Syntax

mi_string * mi_tab_param_exists(MI_AM_TABLE_DESC *tableDescr,
   mi_integer n)
tableDesc
Points to the index descriptor.
n
Specifies a particular index from among multiple indexes on equivalent columns.

The first CREATE INDEX statement for those columns creates index 0. To select that index, set n to 0. To select the second index created on the same columns, set n to 1.

Usage

To support multiple search schemes for the same set of columns, the VII enables the user to identify each search scheme with a set of keyword parameters. The user specifies these parameters in the CREATE INDEX statements for these indexes. The access method uses the related functions together to determine if CREATE INDEX statements specify new or duplicate keyword values.

Return values

The string lists keywords and their values from the amparam column of the sysindexes system catalog table for index n.