color:red

2010年10月21日

SQL中将汉字转换成拼音,可以用在助记码的录入

摘要: create function fun_getPY(@str nvarchar(4000)) returns nvarchar(4000) as begin declare @word nchar(1),@PY nvarchar(4000) set @PY='' while len(@str)>0 begin set @word=left(@str,1) --如果非汉字字符,返回原字符 se... 阅读全文

posted @ 2010-10-21 12:59 永不言弃program 阅读(1322) 评论(0) 推荐(0) 编辑

导航

color:red