Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_TableSchema_iface class

 

GetIndexName function

Gets the index name given its 1-based ID.

Syntax
ULValue UltraLite_TableSchema_iface::GetIndexName(
  ul_index_num index_id
)
Parameters
  • index_id   A 1-based ordinal number.

Returns

A ULValue class object is empty if the index does not exist.

Remarks

Index IDs and counts may change during a schema upgrade. To correctly identify an index, access it by name or refresh any cached IDs and counts after a schema upgrade.