我正在尝试在 MYSQL 中搜索和替换,但出现错误。我在质疑这是因为“http://”
尝试替换这种类型的东西时有人有什么建议吗?
输入的代码:
update movies_news set select_page = replace(select_page, ‘http://movie’, ‘http://www.movie’);
但它会引发以下错误:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '://movie’, ‘http://www.movie’)' at line 1