Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_TRANSACTION , 15 of 19


BEGIN_DISCRETE_TRANSACTION Procedure

This procedure sets "discrete transaction mode" for this transaction.

Syntax

DBMS_TRANSACTION.BEGIN_DISCRETE_TRANSACTION;

Exceptions

Table 65-8 BEGIN_DISCRETE_TRANSACTION Procedure Exceptions
Exception  Description 
ORA-08175
 

A transaction attempted an operation which cannot be performed as a discrete transaction.

If this exception is encountered, then rollback and retry the transaction 

ORA-08176
 

A transaction encountered data changed by an operation that does not generate rollback data: create index, direct load or discrete transaction.

If this exception is encountered, then retry the operation that received the exception. 

Example

DISCRETE_TRANSACTION_FAILED exception;
    pragma exception_init(DISCRETE_TRANSACTION_FAILED, -8175);
CONSISTENT_READ_FAILURE exception;
    pragma exception_init(CONSISTENT_READ_FAILURE, -8176); 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback