Does the MySQL TRIM function not trim line breaks or carriage returns?

后端 未结 10 1831
旧时难觅i
旧时难觅i 2020-12-03 13:58

From my experiments, it does not appear to do so. If this is indeed true, what is the best method for removing line breaks? I\'m currently experimenting with the parameters

10条回答
  •  无人及你
    2020-12-03 14:01

    i could only get it to work by making the char;

    trim(both char(13) from fieldname)
    

提交回复
热议问题