Strange Ascii character in mySQL. Need a query to delete it

后端 未结 1 699
失恋的感觉
失恋的感觉 2021-01-23 19:56

I am trying to work out how to remove the character  from a mySQL database. It has been converted for me by someone else who hasn\'t done a great job.

table is ps_produ

相关标签:
1条回答
  • 2021-01-23 20:54

    CHAR(182) matches the character that is integer code 182.

    So you can do this:

    update ps_product_lang set description = replace(description, CHAR(182), '')
    

    Documentation for CHAR() is here

    0 讨论(0)
提交回复
热议问题