what is autonomouse transaction?

Answers were Sorted based on User's Feedback



what is autonomouse transaction?..

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

what is autonomouse transaction?..

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

what is autonomouse transaction?..

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

Post New Answer

More SQL PLSQL Interview Questions

how to select first 5 records from a table? : Sql dba

0 Answers  


What is loop in pl sql?

0 Answers  


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

0 Answers  


package specification-3 procedures package body-2 procedures will is execute

2 Answers   PWC,


What are the different types of joins in sql?

0 Answers  






How do I run a sql query in pgadmin 4?

0 Answers  


What does “select count(1) from tab” result?

10 Answers   IBM,


select 10 from dual; y its showing all the rows with 10?

1 Answers  


is mysql query is case sensitive? : Sql dba

0 Answers  


What is java sql drivermanager?

0 Answers  


Why we use triggers in mysql?

0 Answers  


What is bind variable in pl sql?

0 Answers  


Categories