Ciao! eccomi puntuale con i miei problemi
...
allora, se provo ad eliminare il record così:
codice:
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/gestione", "", "");
Statement st = conn.createStatement();
int esito = st.executeUpdate("DELETE * FROM dipendenti WHERE ID='"+jTextField10.getText()+"'");
mi da errore:
codice:
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 '* FROM dipendenti WHERE ID='5'' at line 1
come si potrebbe fare?
Grazie per l'aiuto