types of exceptions and what is meant by pragma
autonomous_transaction ?what is the use.

Answer Posted / suresh babu

Two types of exceptions used in oracle.
1.Predefined exceptions,which defined by oracle
already.Ex-NO_DATA_FOUND,DIVIDE_BY_ZERO,etc...
2.User defined exceptions,which defined by the user based on
their application requirement.

pragma autonomous_transaction is an independent
transaction.Once we issue commit,we cannot rollback except
the block,where we mentioned autonomous_transaction.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a schema sql?

739


What is the difference between delete and truncate statement in sql?

681


What is sql entity?

739


What is an inconsistent dependency?

761


How to rename a column in the output of sql query?

735






How do you remove duplicates without using distinct in sql?

692


Explain the insert into statements in sql?

727


How to download oracle sql developer?

845


what are the type of locks ? : Sql dba

717


What pl/sql package consists of?

832


Explain autonomous transaction.

839


What type of database is cloud sql?

778


What is use of package in pl sql?

713


Do foreign keys improve performance?

745


How do I view a table in sql?

716