STR_TO_DATE()
函数将字符串转换为日期类型。,,``sql,SELECT STR_TO_DATE('2023-10-05', '%Y-%m-%d');,
``,,这将把字符串'2023-10-05'转换为日期类型。STR_TO_DATE()
函数将字符串转换为日期类型。,,``sql,SELECT STR_TO_DATE('2023-10-05', '%Y-%m-%d');,
``,,这将把字符串'2023-10-05'转换为日期类型。Powered By Z-BlogPHP 1.7.3