MySQL Forums
Forum List  »  Newbie

Re: Equivalent date interval query does not compile
Posted by: Peter Brawley
Date: September 05, 2011 10:44AM

prepare st2 from
"select count(*) from document where current_date - cast(image_indexing_date as date) <= ?";

"interval ... day" is superfluous in the 2nd prepared statement.

PB

Options: ReplyQuote


Subject
Written By
Posted
Re: Equivalent date interval query does not compile
September 05, 2011 10:44AM


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.