Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PL/SQL problem 1

Status
Not open for further replies.

roy29

Instructor
Jun 12, 2000
17
US
I have a Procedure with an SQL statement in it that selects rows back from a table into variables. If the statement doesn't return any rows then an exception is raised. I'd like to handle the exception by just letting the procedure terminate gracefully.

Thanks for any help in advance.
 
Your exception whould be

[tt]
EXCEPTION
WHEN NO_DATA_FOUND
THEN
Null;
END;[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top