我想做一个操作员登陆登出的记录,登陆的已经写好了,登出我遇到了问题,timenow和datenow是VB的date类型,记录的是
操作员登陆时的日期和时间,intime和indate是oracle的date类型。
我的语句是:
cnn1.Execute "update system.userlogrecord set outtime=" & Time & "where intime=" & timenow & "and indate=" & datenow
系统报告sql命令未正确结束
这是为什么?