CREATE TABLE `test` (   id int,   `gmt_create` datetime  DEFAULT NOW() not NULL )ENGINE=InnoDB;
mysql5.5 不支持  datetime   DEFAULT NOW()  的写法,mysql5.6可以!

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2021-05-30
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
相关资源
相似解决方案