MySQL Forums
Forum List  »  Newbie

Re: SQL stops when running into non-integer
Posted by: Peter Brawley
Date: August 31, 2018 10:04AM

With values of the form '123xyz', adding +0 to the expression returns 123. If that doesn't suit, eg if there aree values like 'abc123xyz', you could add ...

and id_product+0=0

... to the Where clause.

Options: ReplyQuote


Subject
Written By
Posted
Re: SQL stops when running into non-integer
August 31, 2018 10:04AM


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.