JDBC插入数据时,出错信息..不知道是什么原因?
java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Syntax error.
at sun.jdbc.odbc.JdbcOdbc.create
SQLException(JdbcOdbc.java:6957)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3110)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
at exceltodbfjavabdx.DBF.executeUpdate(DBF.java:46)
at exceltodbfjavabdx.Excel.ExcelTodbf(Excel.java:76)
at exceltodbfjavabdx.Main.main(Main.java:31)
生成成功(总时间:1 秒)
------解决方案--------------------at exceltodbfjavabdx.DBF.executeUpdate(DBF.java:46)
at exceltodbfjavabdx.Excel.ExcelTodbf(Excel.java:76)
sql语句语法错误,看看你的代码
------解决方案--------------------最后多个逗号!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!