Setting a NULL Indicator
Go Up to Coercing Data Types
If a parameter or select-list item contains a NULL
value, the sqlind
field should be used to indicate its NULL
status. Appropriate storage space must be allocated for sqlind
before values can be stored there.
Before insertion, set sqlind
to –1 to indicate that NULL
values are legal. Otherwise, set sqlind
to 0.
After selection, a sqlind
of –1 indicates a field contains a NULL
value. Other values indicate a field contains non-NULL
data.