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!

Error Checking

Status
Not open for further replies.

HandyAndy

Technical User
Jun 26, 2001
13
GB
Hi

say i do a select and it brings back no results....
how can i detect this and deal with it??

i guess that the dealing part would be catered for by the HOST language in my case php.

Thanks
Andrew
 
Hi HandyAndy,

If you are using Oracle then you can raise an exception called

exception
when no_data_found then ....

What RDBMS are you using, it helps to give more details as handling such scenarios are vendor specific

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top