lrd_ora8_attr_set_literal
Sets a handle attribute using a literal string- in shorthand.
LRDRET lrd_ora8_attr_set_literal( void *mpvLRDDBIHandleTarget, long mliAttrType, void *mpvValue, int miDBErrorSeverity );
| mpvLRDDBIHandleTarget | A pointer to the target LRDDBI handle. |
| mliAttrType | A qualifier of one of the LRD attributes LRD_ATTR_ORACLE_qualifier |
| mpvValue | A pointer to an attribute value. |
| miDBErrorSeverity | The Error Severity Levels of a failure in a database routine. |
The lrd_ora8_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_alloc. This function is only supported for Oracle 8.0 and higher.
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: mpvValue
Example
In the following example, the lrd_ora8_attr_set_literal function assigns the value "scott" to the USERNAME attribute during session 1.
lrd_ora8_attr_set_literal (Ses1, USERNAME, "scott", -1, 0); */

