Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_ora8_bind_col

lrd_ora8_bind_col

Example: lrd_ora8_bind_col Oracle 8.0 Functions

Binds a host variable to a column.

LRDRET lrd_ora8_bind_col( void *mpvLRDDBIHandleStmt, void **mppvLRDDBIHandleDefine, int muiColNum, LRD_VAR_DESC *mptVarDesc, long mliMode, int miDBErrorSeverity );

mpvLRDDBIHandleStmt A non-NULL pointer to an LRDDBI Stmt Handle.
mppvLRDDBIHandleDefine A pointer to a pointer to the address of the LRDDBI Define Handle.
muiColNum The column number in the result set.
mptVarDesc A pointer to the descriptor of a variable to bind.
mliMode The database mode.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_ora8_bind_col function binds a host variable to an output column. VuGen generates an lrd_ora8_bind_col statement for all columns in the result set.

A host variable is automatically generated by VuGen. It has the following structure:

<column name>_D<data index>

For example, &ENAME_D3 represents the third set of data whose column name is "ENAME".

For more details refer to the Function Header File lrd.h in the include directory.

Return Values

See LRD Return Values.

Parameterization

You cannot use standard parameterization for any arguments in this function.