MySQL Forums
Forum List  »  Triggers

Re: Need Help with TRIGGER and IF
Posted by: Peter Brawley
Date: October 23, 2012 03:58PM

It can, with something like ...

if new.test1 like '%fail%' ... or new.test15 like '%fail%' then 
  set new.overall='fail';
end if;

Options: ReplyQuote


Subject
Views
Written By
Posted
2519
October 23, 2012 10:17AM
1519
October 23, 2012 11:50AM
1437
October 23, 2012 01:53PM
Re: Need Help with TRIGGER and IF
1258
October 23, 2012 03:58PM


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.