Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

How to Gracefuly recover in Racle stored procedure

In my database I have an Oracle database table "Sports". One of the columns in this table will contain the names of different  Sports teams.

I also have a stored procedure. One of the parameters in this stored procedure will be called "TeamName". The stored procedure
will search the Sports Table  to see  if it contains the value store stored in the TeamNam parameter.

If and when the team name is not found the Oracle SP with throw an exception. So is there a way for me to prevent and exception from being thrown, because I just want the stored procedure to gracefully recover if an exception occurs?
ASKER CERTIFIED SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial