Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to handle Exception in a function in Oracle?
Posted

1 solution

Is Google [^]broken at you place?

In any case, it would look something like this:

DECLARE
   Declaration section 
BEGIN 
   Exception section 
EXCEPTION 
	WHEN ex_name1 THEN 
		-Error handling statements 
	WHEN ex_name2 THEN 
		-Error handling statements 
	WHEN Others THEN 
		-Error handling statements 
END; 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900