为什么不想使用日期时间?我发现的唯一区别是范围。看看这里
The DATETIME type is used when you need values that contain both date and time information. MySQL retrieves and displays DATETIME values in 'YYYY-MM-DD HH:MM:SS' format. The supported range is '1000-01-01 00:00:00' to '9999-12-31 23:59:59'.
The TIMESTAMP data type has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC.
如果您查看 clsql 的来源,例如这里,您将看到
(defmethod database-get-type-specifier ((type (eql 'wall-time)) args database
(db-type (eql :mysql)))
(declare (ignore args database))
"DATETIME")
这意味着您的代码一切正常。您使用反引号 ` 或简单引号 \' 的引用是什么?