Share this page

# lrd_handle_free

Frees an LRDDBI handle. (Oracle 8.x and later)

    LRDRET lrd_handle_free( void **mppvLRDDBIHandle, int miDBErrorSeverity );

mppvLRDDBIHandle | A pointer to a pointer to the LRDDBI handle to be freed.
miDBErrorSeverity | The Error Severity Levels of a failure in a database routine.

The lrd_handle_free function explicitly frees an LRDDDBI handle. Note that the handle must have been allocated either explicitly using lrd_handle_alloc, or implicitly using lrd_logon. 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

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

## Example

In the following example, lrd_handle_free frees the handle, OraStm1.

    lrd_handle_alloc_ora(OraEnv1, STMT, &OraStm1, 0);
    lrd_ora8_stmt_literal(OraStm1, "begin dbms_output0.disable; end;", 1, 0, 0);
    lrd_ora8_exec(OraSvc1, OraStm1, 1, 0, &uliRowsProcessed, 0, 0, 0, 0, 0);
    lrd_handle_free(&OraStm1, 0);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: