首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

帮忙解决!

2012-02-14 
帮忙解决!在线等!我想更新3小时之前发表的记录进行更新,下面的语句不对!不执行,高手帮忙改正!conn.execute

帮忙解决!在线等!
我想更新3小时之前发表的记录进行更新,下面的语句不对!不执行,高手帮忙改正!
conn.execute( "update   title   set   ifzd=0   where   ifgg=1   and   datediff( 'h ',addtime,date()) <=3 ")

[解决办法]
conn.execute( "update title set ifzd=0 where ifgg=1 and datediff(h,addtime,date()) <=3 ")

热点排行
Bad Request.