update users Set USER_ACCOUNT_DIS = to_timestamp('6/18/2013 1:41:05 PM','YYYY-MM-DD HH24:MI:SS') Where user_id='mytestuser'
用于 ODBC 驱动程序的 Microsoft OLE DB 提供程序错误“80004005”
[Oracle][ODBC][Ora]ORA-01843: 月份无效
我从经典 asp 中获取日期为“Now()”,如下所示:
sqlText4="update users "
sqlText4=sqlText4 & "Set USER_ACCOUNT_DIS = to_timestamp('" & Now()&"','YYYY-MM-DD HH24:MI:SS') "
sqlText4=sqlText4 & " Where user_id='"&p_user_id&"'"
Response.Write sqlText4
objconnencore.Execute(sqlText4)