濮阳杆衣贸易有限公司

主頁 > 知識(shí)庫 > sqlServer 獲取漢字字串的拼音聲母

sqlServer 獲取漢字字串的拼音聲母

熱門標(biāo)簽:外呼運(yùn)營(yíng)商線路收費(fèi) 貴州房產(chǎn)智能外呼系統(tǒng)供應(yīng)商 臨沂智能電銷機(jī)器人加盟哪家好 百度地圖標(biāo)注改顏色 電銷外呼有錄音系統(tǒng)有哪些 申請(qǐng)400電話在哪辦理流程 一個(gè)導(dǎo)航軟件能用幾個(gè)地圖標(biāo)注點(diǎn) 鎮(zhèn)江網(wǎng)路外呼系統(tǒng)供應(yīng)商 小e電話機(jī)器人
復(fù)制代碼 代碼如下:

CREATE function fGetPy(@str varchar(500)='')
returns varchar(500)
as
begin
declare @strlen int,@return varchar(500),@ii int
declare @c nchar(1),@chn nchar(1)
select @strlen=len(@str),@return='',@ii=0
set @ii=0
while @ii@strlen
begin
select @ii=@ii+1,@chn=substring(@str,@ii,1)
if @chn>='吖'
select @c = char(count(*)+63) from (
select top 27 * from (
select chn = '吖'
union all select '八'
union all select '嚓'
union all select '咑'
union all select '妸'
union all select '發(fā)'
union all select '旮'
union all select '鉿'
union all select '丌' --because have no 'i'
union all select '丌'
union all select '咔'
union all select '垃'
union all select '嘸'
union all select '拏'
union all select '噢'
union all select '妑'
union all select '七'
union all select '呥'
union all select '仨'
union all select '他'
union all select '屲' --no 'u'
union all select '屲' --no 'v'
union all select '屲'
union all select '夕'
union all select '丫'
union all select '帀'
union all select @chn
) as a
order by chn COLLATE Chinese_PRC_CI_AS ) as b
where b.chn =@chn
else set @c=@chn
set @return=@return+@c
end
return(@return)
end

標(biāo)簽:嘉興 日照 晉城 澳門 合肥 延邊 保定 三明

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《sqlServer 獲取漢字字串的拼音聲母》,本文關(guān)鍵詞  sqlServer,獲取,漢字,字串,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《sqlServer 獲取漢字字串的拼音聲母》相關(guān)的同類信息!
  • 本頁收集關(guān)于sqlServer 獲取漢字字串的拼音聲母的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    甘德县| 涟水县| 吴桥县| 乌恰县| 乐平市| 彰武县| 安国市| 泰宁县| 平遥县| 万年县| 青田县| 虎林市| 宁德市| 健康| 金堂县| 安溪县| 嘉义市| 金华市| 茶陵县| 龙口市| 双桥区| 文安县| 布尔津县| 扶绥县| 阳新县| 台北市| 沧源| 商南县| 滕州市| 兴化市| 祁东县| 厦门市| 宝坻区| 淳化县| 滕州市| 黄骅市| 安阳县| 岳阳市| 电白县| 常宁市| 天全县|