java.sql.SQLException: ORA-00917: 缺失逗号
Stringsql1="insertintoKAOQINSIGN(EID,MORNINGS,MORNINGX,AFTERNOONS,AFTERNOONX,riqi)"+"...
String sql1 = "insert into KAOQINSIGN (EID,MORNINGS,MORNINGX,AFTERNOONS,AFTERNOONX,riqi)" +
"values('"+LoginFrame.i_user+"',
'"+Today.getNowTime()+"',
'"+ null +"'," +"','"+null+"','"+null+"',
'"+Today.getNowDate()+"')";
LoginFrame.i_user是int类型,这句sql哪里错了? 展开
"values('"+LoginFrame.i_user+"',
'"+Today.getNowTime()+"',
'"+ null +"'," +"','"+null+"','"+null+"',
'"+Today.getNowDate()+"')";
LoginFrame.i_user是int类型,这句sql哪里错了? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |