GetColumnDefault function

Synopsis
ULValue UltraLite_TableSchema_iface::GetColumnDefault(
  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.

Remarks

Gets the default value for the column if it exists.

Returns
  • The default contained as a string.
  • Is empty if the column does not contain a default value. Sets SQLE_COLUMN_NOT_FOUND if the column name does not exist.

The ULValue class object returned has: