update voter set time=#2007/04/28 14:04:44# where id=1 错在哪了 请大哥指点我就是想更新时间 为什么不能更新那?

解决方案 »

  1.   

    update voter set time='#2007/04/28 14:04:44#' where id=1 
      

  2.   

    如果我的时间字段  设置成 Now()了  是不是就不能更新了  谢谢楼上大哥  麻烦再指点一下
      

  3.   

    update voter set time= getdate() where id=1 设置成现在的时间!
      

  4.   

    update voter set Time='#2007/04/28 14:04:44#' where id=1不行啊 大哥帮忙
      

  5.   

    time是关键字:ACCESS数据库:
    update voter set [time]=#2007/04/28 14:04:44# where [id]=1
    SQL数据库:
    update voter set [time]='2007/04/28 14:04:44' where [id]=1
      

  6.   

    time id 都是关键字,建表的时候怎么这么不小心