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

lrd_bind_placeholder

Example: lrd_bind_placeholder Statement Handling Functions

Binds a host variable to a placeholder.

LRDRET lrd_bind_placeholder( LRD_CURSOR *mptCursor, char *mpszPlaceholder, LRD_VAR_DESC *mptVarDesc, unsigned long muliOption, int miDBErrorSeverity );

mptCursor A pointer to an LRD_CURSOR structure.
mpszPlaceholder A pointer to a string containing the placeholder name.
mptVarDesc A pointer to the descriptor of a variable being bound.
muliOption One of the LRD Binding Options.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_bind_placeholder function binds a host variable or array to a placeholder. This function is used together with lrd_assign.

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

Return Values

See LRD Return Values.

Parameterization

The following argument can be parameterized using standard parameterization: mpszPlaceholder