GetColumnScale function

Gets the scale of a numeric column.

Syntax
size_t UltraLite_RowSchema_iface::GetColumnScale(
  const ULValue & column_id
)
Parameters
  • column_id   A 1-based ordinal number.

Returns

0 if the column is not a numeric type or if the column does not exist.

Remarks

Sets SQLE_COLUMN_NOT_FOUND if the column name does not exist.

Sets SQLE_DATATYPE_NOT_ALLOWED if the column type is not a numeric.