Re: [amibroker] Using Double Quotes in odbcGetValueSQL

 

Hello,

Thank you very much for your e-mail.

You need to use \"  (backslash and double quote) to encode double quotes, like this:

printf("This is a text in \"double quotes\"");

Best regards,
Tomasz Janeczko
amibroker.com

On 2016-03-31 21:43, meanomalist@yahoo.com [amibroker] wrote:

I want to use the Double quotes in SQL SELECT statment using odbcGetValueSQL function.

query is like: odbcGetValueSQL(" SELECT me from mytable where isin='"+Name()+"'  AND me = ' "  abc  " '   " );


Problem is in WHERE statment    me = ' "  abc  " '

How to use double quotes in such situations?

__._,_.___

Posted by: Tomasz Janeczko <groups@amibroker.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? The Yahoo Mail app is fast, beautiful and intuitive. Try it today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon