MySQL Forums
Forum List  »  Triggers

What is the way to validate fields in trigger?
Posted by: Sasha Noze
Date: July 07, 2006 08:48AM

Hi!
I need to validate data on insert trigger. I need to check if user typed in right. For example, I need check if some field is numeric. How do I check if certain field is numeric ? Do I need use regexp? If so how do I use regexp inside trigger to check this field suspected being numeric?

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
What is the way to validate fields in trigger?
4504
July 07, 2006 08:48AM


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.