@H_404_1@我想使用PHP和MysqL来插入昨天的日子.所以我的想法是:
@H_404_1@
INTO chartValues SET timestamp='1353369600',`datetime`=DATEADD(d,-1,GETDATE())
@H_404_1@但它不起作用:
@H_404_1@
@H_404_1@1064 – You have an error in your sql Syntax; check the manual that@H_404_1@提前致谢
corresponds to your MysqL server version for the right Syntax to use
near ‘INTO chartValues SET timestamp=’1353369600’,
datetime
=DATEADD(d,GETDATE())’ at line 1
最佳答案
原文链接:https://www.f2er.com/mysql/433107.html