这是因为SQL语句写的有毛病,检查SQL语句
我用Oracle数据库,语句写成这样了,所以出错
sql = "update dzjc_flow set znjbj = '0' where xh = '"+xh+"' ; ";
多了个分号
去掉就正常了
sql = "update dzjc_flow set znjbj = '0' where xh = '"+xh+"' ";
黑色头发 http://heisetoufa.iteye.com
java.sql.SQLException: ORA-00911: 无效字符
阅读 67
2023-04-27
这是因为SQL语句写的有毛病,检查SQL语句
我用Oracle数据库,语句写成这样了,所以出错
sql = "update dzjc_flow set znjbj = '0' where xh = '"+xh+"' ; ";
多了个分号
去掉就正常了
sql = "update dzjc_flow set znjbj = '0' where xh = '"+xh+"' ";
黑色头发 http://heisetoufa.iteye.com
相关推荐
精彩评论(0)