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

SQL Anywhere 11.0.1 » 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.

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


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


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.