从所有行中删除国际字母表的简便方法? [英] Easy way to remove international alphabet from all rows?
本文介绍了从所有行中删除国际字母表的简便方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种简单的方法可以遍历所有行并从表格中的列中删除所有
国际字母字符,例如
删除德语变音符号ü ;并将它们转换为简单的u。
谢谢,
lq
Is there an easy way to loop through all rows and remove all
international alphabet characters from a column in a table, for example
remove German umlauts "ü" and convert them to a simple "u".
Thanks,
lq
推荐答案
请参阅以下主题:
http://groups-beta.google.com/group/...45abaa5cf410b8
Razvan
See the following thread:
http://groups-beta.google.com/group/...45abaa5cf410b8
Razvan
OK<谢谢你。如何在第一个
的地方保留这些角色?
OK< thanks on that. How about keeping out these characters in the first
place?
laurenq uantrell(la ******** *****@hotmail.com)写道:
laurenq uantrell (la*************@hotmail.com) writes:
是否有一种简单的方法可以循环遍历所有行并从表中的列中删除所有
国际字母字符,例如
删除德语变音符号ü并将它们转换为简单的u。
Is there an easy way to loop through all rows and remove all
international alphabet characters from a column in a table, for example
remove German umlauts "ü" and convert them to a simple "u".
这是一个比链接Razvan foun更智能的版本
创建表格T(
s nvarchar(20)
)
插入T值(''créée'')
插入T值(''patédefois gras'')
插入T值(''HéLèNEMELAN?ON'')
更新T
set s = convert(varchar(20),s)COLLATE Cyrillic_General_CS_AS
go
select * from T
go
drop table T
这假设您的数据只有拉丁字符。
-
Erland Sommarskog,SQL Server MVP, es****@sommarskog.se
SQL Server SP3联机丛书
http://www.microsoft.com/sql/techinf...2000/books .asp
这篇关于从所有行中删除国际字母表的简便方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文