原文:执行sql报错:Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

执行如下sql:报错 表中出现多个timestamp并设置为current timestamp的时候报错 Incorrect table definition there can be only oneTIMESTAMP column with CURRENT TIMESTAMP in DEFAULT or ON UPDATEclause 原因是当你给一个timestamp设置为on update ...

2017-08-15 10:13 7 25266 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM