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

 

IsUniqueKey function

Checks whether the index is a unique key.

Syntax
bool UltraLite_IndexSchema_iface::IsUniqueKey()
Returns
  • True if the index is a primary key or a unique constraint.

  • False if the index is neither a primary key nor a unique constraint.

Remarks

Columns in a unique key may not be null.