aspcms免费开源企业网站开发建设管理系统源码程序

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5483|回复: 0

错误号:-2147217913,错误描述:日期的语法错误 在查询表...

[复制链接]

187

主题

188

帖子

609

积分

高级会员

Rank: 4

积分
609
发表于 2019-10-7 08:23:58 | 显示全部楼层 |阅读模式
问:错误号:-2147217913,错误描述:日期的语法错误 在查询表达式 'TimeStatus=1 and Timeing <= #2012-5-22 下午 09:47:22#' 中。sql=update aspcms_Content set TimeStatus=0 where TimeStatus=1 and Timeing <= #2012-5-22 下午 09:47:22#

  


  答:修改inc目录下AspCms_CommonFun.asp的第191行:

  
  1. conn.exec "update {prefix}Content set TimeStatus=0 where TimeStatus=1 and Timeing <= #" & now()&"#","exe"
复制代码


  修改为:

  
  1. conn.exec "update {prefix}Content set TimeStatus=0 where TimeStatus=1 and Timeing <= #" & date()&"#","exe"
复制代码
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|aspcms免费开源企业网站开发建设管理系统源码程序 ( 冀ICP备17022052号-2|网站地图

GMT+8, 2024-3-29 14:08 , Processed in 0.037010 second(s), 19 queries .

Powered by aspcms免费开源企业网站开发建设管理系统源码程序

© 2001-2025 aspcms免费开源企业网站开发建设管理系统源码程序

快速回复 返回顶部 返回列表