What is autonomous transaction?

Answer Posted / karthik

Hi,
this is a independent transaction done irrespective f
parent transcation.
ex:
i hv a procedure for updating the rows in a table.but
wether it updates or not i need this attempt of updating
the rows to be noted in a log table so i will write that as
a autonomous transaction(of course using the pragma)and so
it will be written in log table wether or not the main
table is updated.
Note:if ur using some dml in autonomous block then u HV to
COMMIT it else this transaction wil not get commited.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to drop a stored function?

664


What is private procedure oracle?

519


Can we connect to ORACLE db using Windows Authentication?

705


defination of bitmap index

1612


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

530






What is the sid in oracle?

523


How can we find out the current date and time in oracle?

632


What are the differences between blob and clob in oracle?

569


What is the fastest query method to fetch data from the table?

830


What is a snapshot log?

556


How to define a specific record type?

601


How to resolve name conflicts between variables and columns?

555


How to lock and unlock a user account in oracle?

600


How to assign a table row to a record variable?

565


How to unlock the sample user account in oracle?

546