关于更新日期
初学access,下面的语句为什么有语法错误呢?
update ip_table set IP='127.0.0.1',date=#2010-1-1 20:1:1# where ID=1
[解决办法]
- SQL code
update ip_table set IP='127.0.0.1',[date]=#2010-1-1 20:1:1# where ID=1
[解决办法]
楼上下解。 date 是关键字,加上 []
update ip_table set IP='127.0.0.1',[date]=#2010-1-1 20:1:1# where ID=1