MySQL Forums
Forum List  »  Triggers

Trigger Try/Catch
Posted by: Matías Bonet
Date: September 03, 2005 01:43PM

Hi people,

I'm developing a system database with MySQL beta v5.0.12 and I'm trying to create a Trigger that inserts a row into another table. This table has a pK that could be violated.

For this reason, I need to use a Try/Catch (like in MaxDB) or something to catch exceptions.

Any idea?

Regards.

Options: ReplyQuote


Subject
Views
Written By
Posted
Trigger Try/Catch
16174
September 03, 2005 01:43PM
8958
September 04, 2005 12:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.