MySQL - Replace Character in Columns

后端 未结 4 1356
离开以前
离开以前 2020-11-29 20:08

Being a self-taught newbie, I created a large problem for myself. Before inserting data in to my database, I\'ve been converting apostrophes (\') in a string, to double quot

4条回答
  •  Happy的楠姐
    2020-11-29 20:16

    If you have "something" and need 'something', use replace(col, "\"", "\'") and viceversa.

提交回复
热议问题