去除换行符:
update t set field = REPLACE(field,CHAR(10), ‘’)
去除回车符:
update t set field = REPLACE(field,CHAR(13), ‘’)
加一分钟:
update t set time = DATE_ADD(time ,INTERVAL 1 MINUTE)
去除换行符:
update t set field = REPLACE(field,CHAR(10), ‘’)
去除回车符:
update t set field = REPLACE(field,CHAR(13), ‘’)
加一分钟:
update t set time = DATE_ADD(time ,INTERVAL 1 MINUTE)