/*
¸ù¾Ýºº×Ö»ñÈ¡È«Æ´
1.Éú³ÉËùÓжÁÒôÁÙʱ±í
2.¸ù¾ÝChinese_PRC_CS_AS_KS_WS ÅÅÐò»ñÈ¡¶ÁÒô
*/
Create function ChineseSpell(@str varchar(100))
returns varchar(8000)
as
begin
declare @re varchar(8000)
--Éú³ÉÁÙʱ±í
declare @t table(chr nchar(1) collate Chinese_PRC_CS_AS_KS_WS,py nvarchar(20))
insert into @t select'ß¹','a'
insert into @t select'厑','aes'
insert into @t select'°¥','ai'
insert into @t select'°²','an'
insert into @t select'°¹','ang'
insert into @t select'°¼','ao'
insert into @t select'°Ë','ba'
insert into @t select'挀','bai'
insert into @t select'兡','baike'
insert into @t select'瓸','baiwa'
insert into @t select'°â','ban'
insert into @t select'°î','bang'
insert into @t select'Ùè','bao'
insert into @t select'萡','be'
insert into @t select'Úé','bei'
insert into @t select'±¼','ben'
insert into @t select'伻','beng'
insert into @t select'皀','bi'
insert into @t select'±ß','bian'
insert into @t select'辪','uu'
insert into @t select'ìá','biao'
insert into @t select'±ï','bie'
insert into @t select'汃','bin'
insert into @t select'Ùû','bing'
insert into @t select'癶','bo'
insert into @t select'峬','bu'
insert into @t select'àê','ca'
insert into @t select'偲','cai'
insert into @t select'乲','cal'
insert into @t select'²Î','can'
insert into @t select'²Ö','cang'
insert into @t select'撡','cao'
insert into @t select'冊','ce'
insert into @t select'膥','cen'
insert into @t select'àá','ceng'
insert into @t select'硛','ceok'
insert into @t select'岾','ceom'
insert into @t select'猠','ceon'
insert into @t select'乽','ceor'
insert into @t select'²æ','cha'
insert into @t select'犲','chai'
insert into @t select'辿','chan'
insert into @t select'Øö','chang'
insert into @t select'³','chao'
insert into @t select'³µ','che'
insert into @t select'ÞÓ','chen'