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

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

 

IsColumnNullable function

Checks whether the specified column is nullable.

Syntax
bool UltraLite_TableSchema_iface::IsColumnNullable(
  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. The specified column is the first column in the index, but the index may have more than one column.

Returns
  • True if the column is nullable.

  • False if it is not nullable.

Remarks

Sets SQLE_COLUMN_NOT_FOUND if the column name does not exist.