开发者

REmove invalid Characters in Unicode in SQL SERVER 2008

开发者 https://www.devze.com 2022-12-17 11:40 出处:网络
I want to Remove Invalid uni开发者_如何学运维code Characters from a field in sql server. How to achieve that?What exactly do you count as \"invalid\" characters?

I want to Remove Invalid uni开发者_如何学运维code Characters from a field in sql server. How to achieve that?


What exactly do you count as "invalid" characters?

What is the data-type of the field (char/varchar) or (nchar/nvarchar)

What you may find is that this is an instance where a SQLCLR function to take a SqlString as an input and return a SqlString.

You can then use the more powerful .NET String-manipulation, Encoding, and Globalization features.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号