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

lrd_attr_set_literal

Example: lrd_attr_set_literal Oracle 8.0 Functions

Sets a handle attribute using a literal string.

LRDRET lrd_attr_set_literal( void *mpvLRDDBIHandleTarget, long mliAttrType, const char *mpcValue, int miDBErrorSeverity );

mpvLRDDBIHandleTarget A pointer to the target LRDDBI handle.
mliAttrType One of the LRD attributes: LRD_ATTR_ORACLE_xxx.
mpcValue A literal string constant representing the attribute's value.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_attr_set_literal function sets an attribute of an LRDDBI handle. This function specifies the attribute using a literal string, enabling it to include NULL characters.

You must explicitly allocate a handle prior to calling this function using lrd_handle_allocate. This function is only supported for Oracle 8.0 and higher.

For more details refer to the header file lrd.h in the include directory.

Return Values

See LRD Return Values.

Parameterization

Parameterization is not applicable to this function.