solidDB Help : solidDB reference : solidDB SA: Function reference : SaCursorColNullFlag
  
SaCursorColNullFlag
SaCursorColNullFlag binds a NULL value flag to a column.
If the column value is NULL, then * p_isnullflag has a value 1; otherwise the value is 0. The * p_isnullflag value is updated automatically during fetch operations. In search operations, the user variable is updated to contain the value of the current row. Also, if search criteria are involved, this function is used to pass the values for them. During insert and update, a NULL value is inserted to the database if *p_isnullflag is not zero.
See SaCursorColDynData for a more detailed discussion of binding variables.
Synopsis
SaRetT SA_EXPORT_H SaCursorColNullFlag(
  SaCursorT* scur,
  char* colname,
  int* p_isnullflag)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scur
in, use
Pointer to a cursor object
colname
in, use
Column name
pjsnullflag
in, hold
Pointer to an integer variable into where the NULL status is stored during fetch operations, and from where the NULL status is taken during insert and update operations.
Return value
SA_RC_SUCC or error code.
Go up to
solidDB SA: Function reference