I am using Visual C++ 6.0. Samples look like MySql++ adds double-quotes whenever required. ----- Original Message ----- From: "Sinisa Milivojevic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 12:23 PM Subject: Re: MySQL++ samples are not working?
> Radhakrishna Mohan Tadepalli writes: > > Thanks for your reply. I do not have any problem in compilation. My problems > > are with double quote characters, single quote characters and insufficient > > help. Is there any way I can supress exceptions? > > > > Here is one of the problems I am facing when try to run a sample. > > > > The sample compiles with 0 errors. When I run the sample it gives > > error message "Error: You have an error in your SQL syntax near '%q0, %q1, > > 1.25, 1.1, %q4)' at line 1." > > > > Then I removed 'q's. Still it is giving run time error. Also there is no > > help on execute(). > > > > Thanks, > > Radha > > > > You must escape your strings that contain quotes. > > What compiler do yo uuse ?? > > -- > Regards, > __ ___ ___ ____ __ > / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> > / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer > /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus > <___/ www.mysql.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php