Share this page

# lrd_ora8_commit

Commits the current transaction for Oracle 8.0 clients.

    LRDRET lrd_ora8_commit( void *ServiceContextHandle, long Mode,
    int ErrorSeverity );

ServiceContextHandle | A pointer to an LRDDBI service context handle.
Mode | The mode of operation.
ErrorSeverity | The Error Severity Levels of a failure in a database routine.

The lrd_ora8_commit function commits the current database transaction from the last Savepoint for Oracle 8.x clients.

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, the lrd_ora8_commit function commits the current transaction.

    lrd_ora8_stmt(OraStm1, "insert into mytab 2 values (:p)\n", 1, 0, 0);
    lrd_assign(&P_D1, "abcdefghi", 0, 0, 0);
    lrd_assign(&P_D1, "abcdefghi", 0, 1, 0);
    lrd_ora8_bind_placeholder(OraStm1, &OraBnd1, "P", &P_D1, 0, 0, 0);
    lrd_ora8_exec(OraSvc1, OraStm1, 2, 0, &uliRowsProcessed, 0, 0, 0, 0, 0);
    lrd_handle_free(&OraStm1, 0);
    lrd_ora8_commit(OraSvc1, 0, 0);

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