注册 登录
编程论坛 ASP技术论坛

如何用UPDATE语句同时更新多个ID的时间?

没有人 发布于 2007-08-20 17:51, 911 次点击
我想同时对几条记录更新时间,就像群删的功能

我按照群删的语句
conn.execute "delete from "&db&" where idSerial in ("&id&") "
同样改成群更新的语句
conn.execute "update "&db&" set pRegTime="&now()&" where idSerial in ("&id&") "
出错了,请问应该怎么写?

1 回复
#2
ayue2222007-08-20 18:03
conn.execute "update "&db&" set pRegTime='"&now()&"' where idSerial in ("&id&") "
1