[size=11px]D:\mldnwebdemo\WEB-INF\classes>java cn.mldn.lxh.dao.test.TestDAOInsert
Exception in thread "main" com.mysql.jdbc.exceptions.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 'sql FROM emp WHERE empno=
1000' at line 1
求解程序运行时出现了上面的异常,可能是哪里出了错误?
------解决方案--------------------
SQL语句写错了。把你的SQL语句贴出来看看。
------解决方案--------------------
+1