
正文
oracle如何译成拼音 oracle怎么拼写
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
在oracle中如何将查出来的数据(汉字)转换为拼音,数据库已经是别人建好的,有没有什么好方法
楼主您好
没有特别好的方法
如果数据特别巨大的话,建议写程序转换
拿java为例,即使高级语言,用pingyin4j读出来,多音字返回数组电脑是没办法识别的。我们只能暂时先让它返回第一个音,比如长返回["chang","zhang"],只能默认chang音,“长大”也就错了。
比如“万俟卨”电脑是肯定读不对的。
相关问答
Q1: 甲骨文公司的Oracle数据库,用中文谐音(读音)怎么读?
Oracle
欧瑞可
随便你怎么读都可以的。。反正字典上没有。。
这个单词是由三个音节组成
O就和O my god里面那个O是一样的发音。。
ra就和单词“race”里面那个ra一样的发音。。
cle就和bicycle里面的那个cle一样发音。。
晓得不?
Q2: 英语翻译"oracle"的音标,意思
oracle 英['ɒrəkl]美[ˈɔrəkəl, ˈɑr-]n.神示所; 神谕; 圣贤; 哲人;
disambiguation [英][dɪsæmbɪgjʊ'eɪʃən][美][ˌdɪsæmˌbɪgjʊ'eɪʃən]n.解疑oracle如何译成拼音,消除模棱两可情况; 望采纳oracle如何译成拼音!
Q3: oracle中有没有办法,把汉字转为拼音
这是转换成拼音第一个字母的
create or replace function Calcu_pydm(
as_InputString IN VARCHAR --输入字符串
)
RETURN VARCHAR2
IS
ll_pos NUMBER ;
tmp VARCHAR2(4) ;
ls_ReturnStr VARCHAR2(8000);
begin
ll_pos :=1;
ls_ReturnStr := '';
WHILE ll_pos = LENGTH(as_InputString)
LOOP
tmp := SubStr(as_InputString,ll_pos,1);
if ASCII(tmp) 128 then
if tmp= '匝' then
ls_ReturnStr := ls_ReturnStr || 'Z';
end if;
if tmp= '丫' and tmp '匝' then
ls_ReturnStr := ls_ReturnStr || 'Y';
end if;
if tmp= '夕' and tmp '丫' then
ls_ReturnStr := ls_ReturnStr || 'X';
end if;
if tmp= '哇' and tmp '夕' then
ls_ReturnStr := ls_ReturnStr || 'W';
end if;
if tmp= '他' and tmp '哇' then
ls_ReturnStr := ls_ReturnStr || 'T';
end if;
if tmp= '撒' and tmp '他' then
ls_ReturnStr := ls_ReturnStr || 'S';
end if;
if tmp= '然' and tmp '撒' then
ls_ReturnStr := ls_ReturnStr || 'R';
end if;
if tmp= '七' and tmp '然' then
ls_ReturnStr := ls_ReturnStr || 'Q';
end if;
if tmp= '趴' and tmp '七' then
ls_ReturnStr := ls_ReturnStr || 'P';
end if;
if tmp= '哦' and tmp '趴' then
ls_ReturnStr := ls_ReturnStr || 'O';
end if;
if tmp= '拿' and tmp '哦' then
ls_ReturnStr := ls_ReturnStr || 'N';
end if;
if tmp= '妈' and tmp '拿' then
ls_ReturnStr := ls_ReturnStr || 'M';
end if;
if tmp= '廓' and tmp '妈' then
ls_ReturnStr := ls_ReturnStr || 'L';
end if;
if tmp= '咖' and tmp '廓' then
ls_ReturnStr := ls_ReturnStr || 'K';
end if;
if tmp= '讥' and tmp '咖' then
ls_ReturnStr := ls_ReturnStr || 'J';
end if;
if tmp= '哈' and tmp '讥' then
ls_ReturnStr := ls_ReturnStr || 'H';
end if;
if tmp= '嘎' and tmp '哈' then
ls_ReturnStr := ls_ReturnStr || 'G';
end if;
if tmp= '发' and tmp '嘎' then
ls_ReturnStr := ls_ReturnStr || 'F';
end if;
if tmp= '讹' and tmp '发' then
ls_ReturnStr := ls_ReturnStr || 'E';
end if;
if tmp= '搭' and tmp '讹' then
ls_ReturnStr := ls_ReturnStr || 'D';
end if;
if tmp= '擦' and tmp '搭' then
ls_ReturnStr := ls_ReturnStr || 'C';
end if;
if tmp= '八' and tmp '擦' then
ls_ReturnStr := ls_ReturnStr || 'B';
end if;
if tmp= '啊' and tmp '八' then
ls_ReturnStr := ls_ReturnStr || 'A';
end if;
if tmp '啊' then
ls_ReturnStr := ls_ReturnStr || SubStr(as_InputString,ll_pos,1);
end if;
else
ls_ReturnStr :=ls_ReturnStr || SubStr(as_InputString,ll_pos,1);
end if;
ll_pos := ll_pos + 1 ;
end loop;
ls_ReturnStr := lower(rtrim(ltrim(ls_ReturnStr)));
return ls_ReturnStr;
end ;
关于oracle如何译成拼音和oracle怎么拼写的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。








