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

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_RowSchema_iface class

 

GetColumnSize function

Gets the size of the column.

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

Returns

0 if the column does not exist or if the column type does not have a variable length.

Remarks

Sets SQLE_COLUMN_NOT_FOUND if the column name does not exist.

Sets SQLE_DATATYPE_NOT_ALLOWED the column type is not either UL_SQLTYPE_CHAR or UL_SQLTYPE_BINARY.