ich möchte eine Update machen, aber ich bekomme folgendes
meine abfrage sieht so aus
hat jemand eine Idee wieso ich die Exception bekomme
Java:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'Alter = 11 WHERE Name ='rrr'' at line 1
meine abfrage sieht so aus
Java:
String query = " UPDATE mitarbeiter set Alter = ? "+
" WHERE Name ='"+m+"'";