MySQL Forums
Forum List  »  InnoDB

Re: 1064 You have an error in your SQL syntax
Posted by: Peter Brawley
Date: September 29, 2014 12:03PM

The error is often just before the quoted sql, in your case ...

WHERE order_status_id = AND created_date <=
                     ^
                     |
[/code
WHERE status_id = is incomplete; whatever code generated this query failed to provide a value to compare to order_status_id.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: 1064 You have an error in your SQL syntax
800
September 29, 2014 12:03PM


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.