Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlIsNullable

Retrieve an indication if the column accepts null fields.

Declaration

CTSQL_NULLABILITY ctsqlIsNullable(pCTSQLCURSOR hCursor, INTEGER colnumber)

Description

ctsqlIsNullable() retrieves an indication if the column accepts null fields.

  • hCursor the cursor handle.
  • colnumber the column number.

Return

ctsqlIsNullable() returns the nullability of a column. The possible values for the nullability are:

NULLABLE Value

Value

SQL_NO_NULLS

0

SQL_NULLABLE

0

SQL_NULLABLE_UNKNOWN

0

See Also

ctsqlGetParameterNullFlag(), ctsqlIsColumnNull()

TOCIndex