oracle下汉字转拼音sql语句
---创建数据类型
create or replace type spell_code as object(spell varchar2(10),code number)
create or replace type t_spellcode is table of spell_code
----函数Get_Spellcode
create or replace function Get_Spellcode return t_spellcode
Pipelined is
/*
x代码转换代码函数:Get_Spellcode(null)
By Wangqi from Internet 2010-11-15
用处:返回拼音与ASCII码的对应关系,用于将汉字转换成拼音。
参数: 无
注意:本函数被函数:Get_Pinyin()调用
*/
Begin
PIPE Row(spell_code('a', -20319));
PIPE Row(spell_code('ai', -20317));
PIPE Row(spell_code('an', -20304));
PIPE Row(spell_code('ang', -20295));
PIPE Row(spell_code('ao', -20292));
PIPE Row(spell_code('ba', -20283));
PIPE Row(spell_code('bai', -20265));
PIPE Row(spell_code('ban', -20257));
PIPE Row(spell_code('bang', -20242));
PIPE Row(spell_code('bao', -20230));
PIPE Row(spell_code('bei', -20051));
PIPE Row(spell_code('ben', -20036));
PIPE Row(spell_code('beng', -20032));
PIPE Row(spell_code('bi', -20026));
PIPE Row(spell_code('bian', -20002));
PIPE Row(spell_code('biao', -19990));
PIPE Row(spell_code('bie', -19986));
PIPE Row(spell_code('bin', -19982));
PIPE Row(spell_code('bing', -19976));
PIPE Row(spell_code('bo', -19805));
PIPE Row(spell_code('bu', -19784));
PIPE Row(spell_code('ca', -19775));
PIPE Row(spell_code('cai', -19774));
PIPE Row(spell_code('can', -19763));
PIPE Row(spell_code('cang', -19756));
PIPE Row(spell_code('cao', -19751));
PIPE Row(spell_code('ce', -19746));
PIPE Row(spell_code('ceng', -19741));
PIPE Row(spell_code('cha', -19739));
PIPE Row(spell_code('chai', -19728));
PIPE Row(spell_code('chan', -19725));
PIPE Row(spell_code('chang', -19715));
PIPE Row(spell_code('chao', -19540));
PIPE Row(spell_code('che', -19531));
PIPE Row(spell_code('chen', -19525));
PIPE Row(spell_code('cheng', -19515));
PIPE Row(spell_code('chi', -19500));
PIPE Row(spell_code('chong', -19484));
PIPE Row(spell_code('chou', -19479));
PIPE Row(spell_code('chu', -19467));
PIPE Row(spell_code('chuai', -19289));
PIPE Row(spell_code('chuan', -19288));
PIPE Row(spell_code('chuang', -19281));
PIPE Row(spell_code('chui', -19275));
PIPE Row(spell_code('chun', -19270));
PIPE Row(spell_code('chuo', -19263));
PIPE Row(spell_code('ci', -19261));
PIPE Row(spell_code('cong', -19249));
PIPE Row(spell_code('cou', -19243));
PIPE Row(spell_code('cu', -19242));
PIPE Row(spell_code('cuan', -19238));
PIPE Row(spell_code('cui', -19235));
PIPE Row(spell_code('cun', -19227));
PIPE Row(spell_code('cuo', -19224));
PIPE Row(spell_code('da', -19218));
PIPE Row(spell_code('dai', -19212));
PIPE Row(spell_code('dan', -19038));
PIPE Row(spell_code('dang', -19023));
PIPE Row(spell_code('dao', -19018));
PIPE Row(spell_code('de', -19006));
PIPE Row(
oracle将汉字转换为拼音_IT/计算机_专业资料。通过oracle数据库编写一个函数,将... oracle下汉字转拼音语句 7页 1下载券 oracle汉字拼音的首字母 2页 免费 ...
oracle将汉字转换为拼音 2页 2下载券 oracle下汉字转拼音语句 7页 1下载券 ...oracle汉字拼音的首字母.txt人生重要的不是所站的位置,而是所朝的方向。不要用...
oracle完整汉字转拼音函数_计算机软件及应用_IT/计算机_专业资料。完整版的汉字... ORACLE函数获取汉字拼音... 3页 2下载券 oracle下汉字转拼音语句 7页 1下载...
Oracle10g实现把汉字转换成汉语拼音首字母_计算机软件及应用_IT/计算机_专业资料... oracle下汉字转拼音语句 7页 1下载券 oracle中文字符转换拼音 143页 2下载券...
oracle下汉字转拼音语句 7页 2财富值 获取汉字的首字母拼音 6页 免费 oracle... 2009-08-07 ORACLE函数获取汉字拼音首字母 /*---增加:yl--*/ oracle 中 ...
ORACLE写一函数,准确地判... 8页 1下载券 汉字首字母函数 2页 免费 oracle完整汉字转拼音函... 6页 1下载券喜欢此文档的还喜欢...
在oracle9i之后,汉字的排序方式有了以下三种方式: 1、使用拼音排序 2、使用笔画...指定汉字的排序方式,设定方式可以分为以下三个级别: 1、语句级别设置排序方式: ...
你会发现语句执行过程中,出现上述错误提示信息,此时不用理会,实际上 ORACLE 数据...转换方法参见有关资料说明。 . 2.3 匹配字符集替换汉字 对于 1.3 提到的...
Oracle中汉字的乱码问题_IT/计算机_专业资料。... insufficient privileges 你会发现语句执行过程中, ... oracle汉字拼音的首字母 2页 免费 甲骨文—汉字...
ORACLE基本语句_计算机软件及应用_IT/计算机_专业资料。ORACLE基本语句,相关语句...获取给定日期当月的最后一天 转换函数 To_date():将给定字符串转换为 date ...
热门文档