MySQL Forums
Forum List  »  Triggers

Re: Error wit trigger and delimiter
Posted by: Bob Field
Date: May 10, 2006 09:50AM

I think the issue is one of the remote server not processing delimiter changes correctly. This trigger is, however, simple enough to recode so as to not require a delimiter change.

CREATE TRIGGER before_insert_shelf BEFORE INSERT ON SHELF
FOR EACH ROW
set new.capacity = LEAST(new.capacity, 10);

Options: ReplyQuote


Subject
Views
Written By
Posted
3248
April 25, 2006 08:16AM
Re: Error wit trigger and delimiter
1924
May 10, 2006 09:50AM


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.