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_DatabaseSchema_iface class

 

GetTableName function

Gets the name of a table given its 1-based table ID.

Syntax
ULValue UltraLite_DatabaseSchema_iface::GetTableName(
  ul_table_num tableID
)
Parameters
  • tableID   A 1-based ordinal number.

Returns

The name of the table identified by the specified table ID.

Remarks

Table IDs may change during a schema upgrade. To correctly identify a table, either access it by name, or refresh any cached IDs after a schema upgrade. The ULValue class object returned is empty if the table does not exist.