MySQL Forums
Forum List  »  Newbie

Re: How to execute a query containing ''
Posted by: Peter Brawley
Date: May 15, 2015 01:32PM

Simpelst solution: if you surround the string with double quotes, MySQL will accept single quotes inside it. If there are nestedquotes, escapethem with backslash chars.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to execute a query containing ''
May 15, 2015 01:32PM


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.