MySQL Forums
Forum List  »  Triggers

Re: Error in creating TRIGGER to limit insert on certain days
Posted by: Jay Alverson
Date: January 24, 2009 09:15AM

Instead of SELECT CURDATE() try maybe

SET @cdate = CURDATE();

And use a variable instead ? You might need to declare the variable earlier.

>

Thanks, Jay

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Error in creating TRIGGER to limit insert on certain days
2201
January 24, 2009 09:15AM


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.