Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to handle Exception in Pl/sql block?
Posted

1 solution

Is Google [^]broken at you place?

In any case, it would look something like this:

SQL
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