阅读背景:

使用MySQL/PHP在字段中使用now()插入当前日期/时间

来源:互联网 

Since MySQL evidently cannot automatically insert the function now() in a datetime field in adding new records like some other databases, based on comments, I'm explicitly trying to insert it using an SQL statement. (People seem to think timestamp with curdate() is not the answer due to the various limitations of timestamp.) There are numerous articles on the web suggesting inserting now() using SQL should work.Since MySQL evidently cannot automatically inse




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: