一个修改语句的问题!
Public Sub Update(ByVal paraENo As String)
'修改操作
SQLStmt = "UPDATE WageProvide SET Name = '" + Trim(StrReplace(Name)) _
+ "', DeptID = " + Trim(Str(DeptID)) + ", Wage = " + Trim(Str(Wage)) _
+ ", IsProvide = " + IIf(IsProvide, "TRUE", "FALSE") _
+ " WHERE ENo = '" + Trim(StrReplace(paraENo)) + "'"
SQLExt SQLStmt
End Sub
原来像上面的修改语句,现在我在WageProvide表中加了一个字段ProvideTime,是date格式,应该怎么样修改上面的语句?