MySQL Forums
Forum List  »  Newbie

Re: How to execute a query containing ''
Posted by: Hugo Lee
Date: May 15, 2015 01:57PM

Peter Brawley Wrote:
-------------------------------------------------------
> 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.


What do you mean by 'escapethem with backslash chars.'?
If I have to put backwards slashes around every quotation mark then it's not really practical i'm afraid :(

I'm attempting to upload a 100,653 character story, complete with speech within speech marks and HTML formatting. I was wondering if there's a way I can have the query fill the content section with the contents of a file saved somewhere on my computer?

Or if you have another solution, i'd love to hear it... thanks for your help so far, though

Options: ReplyQuote


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


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.