what is autonomouse transaction?
Answers were Sorted based on User's Feedback
Answer / p.rajasekar
Autonomous transactions are started by a parent, or main,
transaction but operate
independently of the parent for transaction control. If a
commit or rollback is used
in the autonomous or main transaction, or if a failure
occurs for any reason, it does
not impact the other transaction.
Our favorite use of this feature is for logging application
events. If the need is to
log activity, regardless of the outcome, but the logging
success or failure should not
impact the application, autonomous transactions are the
perfect solution.
To create an autonomous transaction, use a pragma called
AUTONOMOUS_TRANSACTION. The pragma is placed in the
declaration section of the block.
Is This Answer Correct ? | 16 Yes | 0 No |
Answer / rasmita basantia
its mainly used in that schenario where u are interested to
perform independent transaction.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / singh
eg: We can take a normal bank transaction. Each transaction
has two part one debit and other credit and if any one part
fails the whole transanction fails.
Is This Answer Correct ? | 0 Yes | 5 No |
how can we optimize or increase the speed of a mysql select query? : Sql dba
What is a pdo connection?
What is full join?
What is difference between sql and mysql?
how to show all tables with 'mysql'? : Sql dba
what are all the different types of indexes? : Sql dba
Is sql similar to python?
How do you know if a relationship is 2nf?
How many parts of a pl sql block are optional?
What are the two types of exceptions.
What is the most important ddl statements in sql are?
Is there any restriction on the use of union in embedded sql?