MySQL Forums
Forum List  »  Newbie

Re: Simple Delete Query
Posted by: Rick James
Date: April 24, 2014 08:23PM

Date >= '2013-01-01'
AND
Date < '2013-01-01' + INTERVAL 1 YEAR

You may need to use CONCAT or some other tool to turn 2013 into '2013-01-01'.

Options: ReplyQuote


Subject
Written By
Posted
April 22, 2014 08:17AM
April 22, 2014 07:12PM
April 22, 2014 09:23PM
April 24, 2014 06:36AM
April 24, 2014 06:38AM
April 24, 2014 07:36AM
Re: Simple Delete Query
April 24, 2014 08:23PM


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.