如何使用 mysql update 命令搜索引号? 我正在使用以下命令,但找不到任何东西。
update ibf_posts set post = replace(post, 'src="style_emoticons', 'src="/public/style_emoticons');
最佳答案
你试过逃避他们吗:
update ibf_posts set post = replace(post, 'src=\"style_emoticons', 'src=\"/public/style_emoticons');
关于Mysql更新: How to search for string with quotes ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8615878/