GeekInterview.com
Series: Subject: Topic:
Question: 4 of 95

Raise application error

can we raise_application_error in exception block?? if we use what will happen?
Asked by: Interview Candidate | Asked on: Oct 1st, 2011
Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Jun 18th, 2012

View all answers by Sandhya.Kishan

Whenever a message is displayed using RAISE_APPLICATION_ERROR, all previous transactions which are not committed within the PL/SQL Block are rolled back automatically .

RAISE_APPLICATION_ERROR is used for the following reasons,

a) to create a unique id for an user-defined exception.
b) to make the user-defined exception look like an Oracle error.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.