How do I insert a special character such as ' into MySQL?

前端 未结 5 1741
南旧
南旧 2020-12-19 01:50

I am executing the insert query from a shell script which reads data from multiple files. Some of the data to be inserted contains \' in the text a

5条回答
  •  一向
    一向 (楼主)
    2020-12-19 02:07

    Yo need to escape the ' character with a backslash \

    Women\'s Development & Empowerment, Youth Affairs

提交回复
热议问题