tags:

views:

279

answers:

1

I'm thinking about porting a database from Sql Server 2005 to MySQL.

I've become accustomed to using SQL Server's TRY/CATCH block in stored procedures.

Does MySQL have something similar, or am I going to be forced to go back to the old-school "check the error return after every statement, and issue a goto if it failed" style of programming?

+1  A: 

You can declare handlers for specific error results.

Zed