从SQL中删除(')字符 [英] Removing the (') character from SQL

查看:72
本文介绍了从SQL中删除(')字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我想从字符串中删除"字符.

Hello friends,

I want to remove the '' character from the string. It is giving error when replacing the this character from another.

推荐答案

您需要在替换为SQL之前替换它,因此请使用任何语言. C#在字符串类上有一个Replace方法.
You need to replace it BEFORE it hits SQL, so in whatever language you''re using. C# has a Replace method on the string class.


这篇关于从SQL中删除(')字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆