Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / rajesh venati

Exceptions are classified into two types,
They are
1. Predefined Exceptions
2. User Defined Exceptions
==> Oracle created some of the Predefined Exceptions like
ex: no_data_found etc.,

==> User Defined Exceptions are created by us.
types of user defined exceptions are
a. Raise
b. Raise_Application_Error
One more exception also there
pragma exception_init(exception,error_code)

Then come for Pragma Autonomous Transaction.

Pragma Autonomous Transaction is used to commit or rollback
the active block only.
As well as in a triggers dcl commands are not possible to
used, if u want use dcl command inside a triggers then we
will go for pragma autonomous transaction.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does pl sql work in mysql?

977


What is full join?

951


What is write ahead logging in sql server?

1046


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

979


What are the different dml commands in sql?

1169


What is sql server and ase?

1018


How do I start sql profiler?

989


Can we create clustered index without primary key?

962


Is mariadb a nosql database?

1045


Can we insert in sql function?

1081


Can we create index on primary key?

961


what tools available for managing mysql server? : Sql dba

1078


how to fetch alternate records from a table? : Sql dba

1107


Why stored procedure is better than query?

944


What is trigger explain it?

1011