SQL自定义函数:由汉字生成拼音全拼

CREATE function [dbo].[fun_GetPy_quanpin](@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'

insert into @t select'阷','cheng'

insert into @t select'吃','chi'

insert into @t select'充','chong'

insert into @t select'抽','chou'

insert into @t select'出','chu'

insert into @t select'膗','chuai'

insert into @t select'巛','chuan'

insert into @t select'刅','chuang'

insert into @t select'吹','chui'

insert into @t select'旾','chun'

insert into @t select'踔','chuo'

insert into @t select'呲','ci'

insert into @t select'嗭','cis'

insert into @t select'从','cong'

insert into @t select'凑','cou'

insert into @t select'粗','cu'

insert into @t select'汆','cuan'

insert into @t select'崔','cui'

insert into @t select'邨','cun'

insert into @t select'瑳','cuo'

insert into @t select'撮','chua'

insert into @t select'咑','da'

insert into @t select'呔','dai'

insert into @t select'丹','dan'

insert into @t select'当','dang'

insert into @t select'刀','dao'

insert into @t select'恴','de'

insert into @t select'揼','dem'

insert into @t select'扥','den'

insert into @t select'灯','deng'

insert into @t select'仾','di'

insert in

sql文字转换全拼_SQL自定义函数:由汉字生成拼音全拼相关推荐

  1. java将汉字转成拼音首字母大写字母_java 根据汉字生成拼音全拼或拼音首字母的示例...

    1.情景展示 java 根据中文生成对应的拼音 2.准备工作 所需jar包:pinyin4j-2.5.0.jar 3.解决方案 导包 import net.sourceforge.pinyin4j.P ...

  2. java汉字转拼音(全拼、简拼)

    java汉字转拼音(全拼.简拼) <dependency><groupId>com.belerweb</groupId><artifactId>piny ...

  3. Delphi汉字转拼音全拼

    查询了很多网上汉字转拼音的方案,一种是用VBA实现的,另一种是只能转汉字首字母,结合VBA的方式,用Delphi实现汉字转拼音全拼的方法.附Delphi7写的例程链接 Delphi实现汉字转拼音全拼的 ...

  4. MySQL 创建函数, MySQL定义函数实现汉字转拼音 MySQL汉字转拼音MySQL汉字生成拼音字符串

    MySQL 创建函数, MySQL定义函数实现汉字转拼音 MySQL汉字转拼音 一.MySQL创建函数 1.语法 CREATE FUNCTION fun_name([paramName type , ...

  5. 关于汉字生成拼音的的函数

    关于汉字生成拼音的的函数 Delphi / Windows SDK/API http://www.delphi2007.net/DelphiAPI/html/delphi_20061114182415 ...

  6. sql文字转换全拼_SQL汉字转拼音函数-支持首字母、全拼

    作者不详 --方法一sqlserver汉字转拼音首字母 --调用方法 select dbo.procGetPY ('中國') Create FUNCTION dbo.procGetPY ( @str ...

  7. sql文字转换全拼_MSSQL汉字转拼音函数实现语句

    /* ------------------------------------------------------------- 函数: fn_GetPinyin 描述: 汉字转拼音(无数据表版) 使 ...

  8. sql文字转换全拼_Mysql中文汉字转拼音的实现(每个汉字转换全拼)

    一.创建拼音对照表 -- 创建汉字拼音对照临时表 CREATE TABLE IF NOT EXISTS `t_base_pinyin` ( `pin_yin_` varchar(255) CHARAC ...

  9. sql文字转换全拼_sqlserver汉字转拼音

    /* ------------------------------------------------------------- 函数: fn_GetPinyin 描述: 汉字转拼音(无数据表版) 使 ...

最新文章

  1. 来讲讲Cortex-M、 ARM、和Linux
  2. python编程实例视屏-python爬视频实例
  3. mysql某一列之前加一个球_MySQL作业:三色球,概率题,子查询【诗书画唱】
  4. Windows域控设置IE主页 默认打开百度 【全域策略生效】
  5. 《Python CookBook2》 第一章 文本 - 测试一个对象是否是类字符串 字符串对齐
  6. 动态规划1——生产线调度问题(Dynamic Programming)
  7. 【深度学习系列】PaddlePaddle可视化之VisualDL
  8. java 多个引用指向同一个对象(含案例图解)
  9. modelsim 10.5下载
  10. 昆仑通泰界面UI,复制可用,昆仑通泰触摸屏设计界面。MCGS 组态软件各版本均复制可用
  11. 关于更新win10 1903后VM ware无法启动的解决方法
  12. 瑞能实业IPO被终止:年营收4.47亿 曾拟募资3.76亿
  13. oracle函数创建及调用
  14. 【转载】制作一个超精简的WIN7.gho
  15. 贪心法 第3关:将真分数用埃及分数之和表示
  16. 单片机开发无线控制系列-手机无线超声波测距
  17. Java实现 LeetCode 623 在二叉树中增加一行(遍历树)
  18. [柒穆雨]学习ps有什么用?
  19. springboot微信公众号自定义菜单创建及响应
  20. java的强类型语言与JavaScript(js)的弱类型语言

热门文章

  1. 无胁科技-TVD每日漏洞情报-2022-11-14
  2. html标签lang=“en“解读
  3. html视频教程全套
  4. 汇编语言个人笔记(三)mov和add指令及确定物理地址的方法
  5. Apache Spark,Cassandra和《权力的游戏》
  6. android开发_表单上传图片及其它参数
  7. Android开发从入门到精通教程大总结(源码,教程,面试题,书籍,视频)
  8. php更换鼠标指针详细,鼠标指针替换教程(修正版 )
  9. 三菱FX系列PLC电池电压低导致程序参数丢失,PROG.E报警灯闪烁的解决办法
  10. 复函数积分的共轭等于其共轭的积分