数据库中内容去除空格或换行

去除空格
update student set student_card =replace(student_card, ' ', '')

去除换行
update student set student_card =replace(student_card, '\t', '')

猜你喜欢

转载自caichenglong.iteye.com/blog/2250019