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 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_TableSchema_iface 类

 

GetOptimalIndex 函数

确定用于搜索列值的最佳索引。

语法
ULValue UltraLite_TableSchema_iface::GetOptimalIndex(
  const ULValue & column_id
)
参数
  • column_id   列的 ID 号。该值必须是从 1 开始的序号。表中第一列的 ID 值为 1。

返回值

索引的名称。