==================== Problem Description ====================
The android server stored the username and password, resulting in an error in the SQL statement,
Create a database connection, save the user name and password jdbconnection sqlconn = new Jdbconnection (); Sqlconn.executeupdagte ("INSERT INTO ' user_test ' (' name ' , ' password ') VALUES ("+ Username +", "+ Password +") ");
The result myeclipse an error that you had an error in your SQL syntax
I tried to remove the single quotation mark and add it at the back, not to find it. Which great God can tell me the correct wording of the SQL statement? Does the table name have to be enclosed in single quotes? Thank you, little white.
==================== Solution 1====================
Uh.. I don't use an Apple computer. On the keyboard of the Windows computer is the key where the symbol ' ~ ' is located there is a character ' ', which is usually the left key of the number 1
Android Database write error