MySQL Forums
Forum List  »  Newbie

Re: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
Posted by: G T
Date: May 28, 2010 01:14AM

Here's what I got after printing the prepared statement.

Before: com.mysql.jdbc.PreparedStatement@511e0a: INSERT INTO TEMP (id,description) VALUES (** NOT SPECIFIED **,** NOT SPECIFIED **)

After: com.mysql.jdbc.PreparedStatement@511e0a: INSERT INTO TEMP (id,description) VALUES (5,'abc')

Options: ReplyQuote


Subject
Written By
Posted
Re: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
G T
May 28, 2010 01:14AM


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.