当前位置:网站首页>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' |
边栏推荐
- Did your case really pass?
- Nokov motion capture system makes it possible for multi field cooperative UAV to build independently
- 按键控制LED状态翻转
- Summary of config mechanism and methods in UVM (1)
- Oracle/PLSQL: VSize Function
- [the path of system analyst] Chapter 6: duplicate demand engineering (case paper)
- Kept to implement redis autofailover (redisha) 13
- memcached基础14
- Consumers pursue the iPhone because its cost performance exceeds that of domestic mobile phones
- ML:机器学习工程化之团队十大角色背景、职责、产出物划分之详细攻略
猜你喜欢
随机推荐
uvm中的config机制方法总结(一)
SystemVerilog simulation speed increase
NLP: brief introduction of transformer in NLP natural language field (pre training technology), NLP model development (elmo/gpt/bert/mt-dnn/xlnet/roberta/albert), detailed introduction to classic case
SystemVerilog仿真速率提升
乔治·华盛顿大学 : Hanhan Zhou | PAC:多智能体强化学习中具有反事实预测的辅助价值因子分解
Summary of config mechanism and methods in UVM (1)
uvm中的config机制方法总结(二)
Oracle/PLSQL: From_Tz function
Browser cache
Kept to implement redis autofailover (redisha) 15
George Washington University: Hanhan Zhou | PAC: auxiliary value factor decomposition with counterfactual prediction in Multi-Agent Reinforcement Learning
图论知识及其应用初步调研
Memcached foundation 10
XSS笔记(下)
消费者追捧iPhone,在于它的性价比超越国产手机
UVM中uvm_config_db非直线的设置与获取
Memcached basics 13
理想L9产品力分析:售价45.98万,采用四缸发动机,续航1315公里
XSS attack notes (Part 1)
学习DiscoDiffusion的最基础操作