List:General Discussion« Previous MessageNext Message »
From:Martijn Tonies Date:December 13 2005 5:02pm
Subject:Re: Trapping MySQL Database Errors
View as plain text  
> I'm coding Stored Procedures in MySQL and as a precaution I want to trap
> any potential database errors thrown by MySQL.  Does MySQL offer specific
> system variables that you can interrogate in an if test and take action
> accordingly?
>
> Please let me know.

http://dev.mysql.com/doc/refman/5.0/en/conditions-and-handlers.html

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com

Thread
Trapping MySQL Database ErrorsBrandon E Hofmann13 Dec
  • Re: Trapping MySQL Database ErrorsMartijn Tonies13 Dec