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

lrd_db_option

Example: lrd_db_option Access Management Functions

Sets a database option.

LRDRET lrd_db_option( void *mpvTargetObject, unsigned long muliOption, void *mpvOptionValue, int miDBErrorSeverity);

mpvTargetObject A pointer to an object such as an LRD_CONTEXT, LRD_CURSOR, or LRD_CONNECTION structure.
muliOption One of the Database Options
mpvOptionValue A Database option value. One of:LRD_OPTION_VAL_LETTER_YES (`Y')LRD_OPTION_VAL_LETTER_NO (`N')LRD_OPTION_VAL_LETTER_PARTIAL (`P')LRD_OPTION_VAL_LETTER_DEFAULT (`D')
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_db_option function sets an option for a database cursor, context, or connection.

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.