解决MySQL中datetime类型的数据插入显示为0

datetime类型格式为    年-月-日 时:分:秒

插入日期时必须将日期加上引号不然插入结果都为0


猜你喜欢

转载自blog.csdn.net/qq_42444621/article/details/80847252