I need to update in a column that has a lot of single quotation marks in the field, it has been inserted content with ckeditor so it has several tags like
<span style="FONT-SIZE: 12pt; FONT-FAMILY: "Times New Roman","serif"; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: PT-BR; mso-fareast-language: PT-BR; mso-bidi-language: AR-SA"><font face="Arial" size="2">meu conteudo </font></span>
The problem is in single quotes times single quotes' / 'Times New Roman';
When I run this query in sql manager it would be to replace the single quotation marks with double quotation marks.
When I put [quote quotation marks and one more in the middle] it already error !!, the tag already underlies the sql
thinks and comment after the second quotation mark the rest of the string turns gray!
I've tried double-quotes and simple in the middle did not work either.
This update I need.
UPDATE pessoas SET nome = replace(nome, ''', '"') WHERE nome LIKE '%'%';
Does anyone know how to solve this?