IsColumnGlobalAutoinc function

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

Syntax
bool UltraLite_TableSchema_iface::IsColumnGlobalAutoinc(
  const ULValue & column_id
)
Parameters
  • 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.

Returns
  • True if the column is autoincremented.

  • False if it is not autoincremented.

Remarks

SQLE_COLUMN_NOT_FOUND is set if the column name does not exist.