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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Test the result of an UPDATE

Status
Not open for further replies.

Josselin

Technical User
Feb 14, 2004
33
FR
Hi all,

When performing an UPDATE on an Oracle table, I want to know if the update was really done or not.
If the record does not exist, nothing will be done.
If the record exists, the update will be performed.
I can catch the result if the UPDATE fails in the EXCEPTION clause, but I don't know how to proceed if the record does not exist.

I think I can test an Oracle variable, but I really don't remember what.

Thanks for your input.

Josselin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top