dbnullbind

Description

Associate an indicator variable with a regular result row column.

Syntax

RETCODE dbnullbind(dbproc, column, indicator)
 
DBPROCESS     *dbproc;
int                         column;
DBINT                  *indicator;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

column

The number of the column that is to be associated with the indicator variable.

indicator

A pointer to the indicator variable.

Returns

SUCCEED or FAIL.

dbnullbind returns FAIL if column is invalid.

Usage

NoteDetection of character string truncation is implemented only for CHARBIND and VARYCHARBIND.

See also

dbanullbind, dbbind, dbdata, dbdatlen, dbnextrow