在mysql中可以使用str_to_date函数将verchar转为时间类型,该函数的语法是“Str_to_date(col.pattern)”,其中参数col为需要格式化的字段或内容。
2020-10-27评论:0访问次数:1675