• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.sql.SQLException-Need help to resolve.

 
Jaidev Arer
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using mysql database.
I have loaded the temp table with user info from the registration screen. If the user is approved, i need to load the base table with the pre-loaded data from the temp table.
email-id is the username so i am doing the check against it.
But i am getting
java.sql.SQLException: 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 'where EMAIL_ADDRESS='anjan@gmail.com'' at line 1
DAO-Function to insert the data from temp table to base table.
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at this part of your query: CUST_LAST_LOGINfrom

Regards, Jan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic