This Oracle tutorial explains how to use the Oracle/PLSQL SOUNDEX function with syntax and examples.
The Oracle/PLSQL SOUNDEX function returns a phonetic representation (the way it sounds) of a string.
The syntax for the SOUNDEX function in Oracle/PLSQL is:
SOUNDEX( string1 )
The string whose phonetic value will be returned.
The SOUNDEX function returns a string value.
The SOUNDEX function algorithm works as follows:
The SOUNDEX function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle SOUNDEX function examples and explore how to use the SOUNDEX function in Oracle/PLSQL.
For example:
SOUNDEX('aodb on')
Output: 'A315'
SOUNDEX('AODB IS THE NIC')
Output: 'A312'
SOUNDEX('AODB')
Output: 'A310'