如何从表中的列中选择特定字符

如何从表中的列中选择特定字符

问题描述:

我想选择varchar列的那些行,其中单引号(')在该列中。

我的目的只是删除那些单引号。

如何使用select命令来满足上述要求。任何人都可以指导我吗?

I want to select those rows of a varchar column where single quotes (') is within that column.
My purpose is just to remove those single quotes only.
How to use the select command for the above requirment. Can anyone guide me?

您可以使用 LIKE 运算符来选择这些行,例如

You may use the LIKE operator for selectinh such rows, e.g.
SELECT * FROM MyTable WHERE Name LIKE '%''%';





为了删除这些引号,我会使用编程语言,例如(如果你在 Windows 平台上进行编程) C#