当前位置:网站首页>Oracle/PLSQL: Soundex Function
Oracle/PLSQL: Soundex Function
2022-06-27 01:35: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' |
边栏推荐
- Why divide the training set and the test set before normalization?
- 两个页面之间传参方法
- Shell脚本系列篇(1) 入门
- Keepalived 实现 Redis AutoFailover (RedisHA)17
- Memcached foundation 3
- Esp32 experiment - self built web server distribution network 02
- 30 MySQL tutorial MySQL storage engine overview
- 别被洗脑了,这才是90%中国人的工资真相
- Keepalived 实现 Redis AutoFailover (RedisHA)13
- Object access mechanism and others
猜你喜欢
自定义类加载器对类加密解密
Daily question brushing record (V)
Esp32 experiment - self built web server distribution network 02
简单学习GoogleColab的入门级概念
宁愿去996也不要待业在家啦!24岁,失业7个月,比上班更惨的,是没班可上
buuctf-pwn write-ups (6)
George Washington University: Hanhan Zhou | PAC: auxiliary value factor decomposition with counterfactual prediction in Multi-Agent Reinforcement Learning
每日刷题记录 (五)
Learn the most basic operation of discodiffusion
Summary of config mechanism and methods in UVM (2)
随机推荐
Pointer compression for JVM
Modeling specifications: environment settings
【系统分析师之路】第六章 复盘需求工程(案例论文)
Basic introduction to C program structure Preview
使用NetworkX对社交网络进行系统的分析:Facebook网络分析案例
Break through the performance bottleneck of image recognition through rust language computing acceleration technology
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
On the operation mechanism of numpy array
Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km
速看!2022年6月编程语言排行榜出炉!第一名太牛啦
【毕业季】角色转换
Ymal文件的增删改查
Keepalived 实现 Redis AutoFailover (RedisHA)15
[graduation season] role conversion
NLP:Transformer在NLP自然语言领域的简介(预训练技术)、NLP模型发展(ELmo/GPT/BERT/MT-DNN/XLNet/RoBERTa/ALBERT)、经典案例之详细攻略
ThreadLocal详解
leetcode 1143. Longest Commom Subsequence 最长公共子序列(中等)
Esp32 add multi directory custom component
Custom class loader encrypts and decrypts classes
我靠副业一个月挣了3W块:你看不起的行业,真的很挣钱!