当前位置:网站首页>Oracle/PLSQL: Soundex Function
Oracle/PLSQL: Soundex Function
2022-06-27 01:45:00 【yuanlnet】
In Oracle/PLSQL, the soundex function returns a phonetic representation (the way it sounds) of a string.
Syntax
The syntax for the soundex function is:
soundex( string1 )
string1 is the string whose phonetic value will be returned.
Note
The Soundex algorithm is as follows:
- The soundex return value will always begin with the first letter of string1.
- The soundex function uses only the first 5 consonants to determine the NUMERIC portion of the return value, except if the first letter of string1 is a vowel.
- The soundex function is not case-sensitive. What this means is that both uppercase and lowercase characters will generate the same soundex return value.
Applies To
- Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
For Example
soundex('tech on the net'); | would return 'T253' |
soundex('TECH ON THE NET'); | would return 'T253' |
soundex('apples'); | would return 'A142' |
soundex('apples are great'); | would return 'A142' |
soundex('applus'); | would return 'A142' |
边栏推荐
- Oracle/PLSQL: Rpad Function
- Kept to implement redis autofailover (redisha) 11
- “所有专业都在劝退”,对大学生最友好的竟然是它?
- 每日刷题记录 (五)
- [graduation season] role conversion
- 在线文本数字识别列表求和工具
- UVM中uvm_report_enabled的用法
- Oracle/PLSQL: Upper Function
- [the path of system analyst] Chapter 6: duplicate demand engineering (case paper)
- Oracle/PLSQL: Replace Function
猜你喜欢

Continuous delivery blue ocean application

福元医药上市在即:募资净额将达到16亿元,胡柏藩为实际控制人

uvm中的config机制方法总结(二)

Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km

Ml: a detailed introduction to the division of the top ten roles, backgrounds, responsibilities and outputs of the machine learning engineering team

你的case真的pass了吗?

“所有专业都在劝退”,对大学生最友好的竟然是它?

简单学习GoogleColab的入门级概念

每日刷题记录 (五)

做了两天的唯美蝴蝶动画
随机推荐
Oracle/PLSQL: Upper Function
NLP:Transformer在NLP自然语言领域的简介(预训练技术)、NLP模型发展(ELmo/GPT/BERT/MT-DNN/XLNet/RoBERTa/ALBERT)、经典案例之详细攻略
Memcached foundation 4
递归是会更秀strtok
markdown表格(合并)
[graduation season] role conversion
Oracle/PLSQL: To_Clob Function
微博评论高性能高可用架构
SQLite Reader 插件测试SQLite语法
福元医药上市在即:募资净额将达到16亿元,胡柏藩为实际控制人
图论知识及其应用初步调研
Memcached foundation 2
热议:月薪1.8万却毫无意义的工作,你干吗?
Oracle/PLSQL: Trim Function
Kept to implement redis autofailover (redisha) 16
numpy 数组运算机制浅探
Ml: a detailed introduction to the division of the top ten roles, backgrounds, responsibilities and outputs of the machine learning engineering team
XSS notes (Part 2)
做了两天的唯美蝴蝶动画
The listing of Fuyuan pharmaceutical is imminent: the net amount raised will reach 1.6 billion yuan, and hubaifan is the actual controller