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

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API Reference » UltraLite_TableSchema_iface class


IsColumnAutoinc function

bool UltraLite_TableSchema_iface::IsColumnAutoinc(
  const ULValue & column_id
  • column_id   The ID number of the column. The value must be a 1-based ordinal number. The first column in the table has an ID value of one.


Checks whether the specified column's default is set to autoincrement.

  • True if the column default is set to be autoincremented.
  • False if the column is not autoincremented.
  • Sets SQLE_COLUMN_NOT_FOUND if the column name does not exist.