c#“ORA-00933: SQL 命令未正确结束“ 解决方法
报错:{“ORA-00933: SQL 命令未正确结束”}sql语句:`string upSql = @"update T_OCV3_PRODUCT set voltage='" + volcVal + "' where cellcode = '" + battcodeVal + "';";`解决办法:- -!去掉语句里的 “;”正确写法:string upSql = @"update T_OCV
·
报错:{“ORA-00933: SQL 命令未正确结束”}
sql语句:
`string upSql = @"update T_OCV3_PRODUCT set voltage='" + volcVal + "' where cellcode = '" + battcodeVal + "';";`
解决办法:- -!去掉语句里的 “ ; ”
正确写法:
string upSql = @"update T_OCV3_PRODUCT set voltage='" + volcVal + "' where cellcode = '" + battcodeVal + "'";`
更多推荐
所有评论(0)