---
title: " [转载]sql语句，如何替换字段里的单引号"
author: "solid210"
date: "2010-10-12T11:23:58Z"
tags: []
categories: ["数据库"]
slug: "sql"
draft: false
lastmod: "2010-10-12T11:23:58Z"
id: 782216
url: "https://solid210.iteye.com/blog/782216"
---

如何替换字段里的单引号，如下方法：

update google set title=replace(title,'''','')