Hello:
I executed many times queries in various DBMS but got such error when I started
to work with MySQL. I run simple query from Java in NetBeans:
...
string s1;
s1="abc";
...
stmt.executeUpd ate("INSERT INTO Table(F1) VALUES(s1)");
...
I got this error message:
SQLException: Unknown column 's1' in 'field list'
...
What is wrong???
I executed many times queries in various DBMS but got such error when I started
to work with MySQL. I run simple query from Java in NetBeans:
...
string s1;
s1="abc";
...
stmt.executeUpd ate("INSERT INTO Table(F1) VALUES(s1)");
...
I got this error message:
SQLException: Unknown column 's1' in 'field list'
...
What is wrong???
Comment