Share this page

# lrd_ora8_rollback

Performs a rollback on the current transaction for Oracle 8.0 clients.

    LRDRET lrd_ora8_rollback( void *const ServiceContextHandle, long const Mode,
    int const 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_rollback function rolls back the current database transaction to 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_rollback function rolls back 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_rollback(OraSvc1, 0, 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: