Syntax of SOUNDEX Function :
SOUNDEX(character_expression)
character_expression is a string of type character. It can be a constant, variable, or column.
It returns char data type.
Examples of SOUNDEX Function :
Example 1 : Use of SOUNDEX function in select clause
SELECT SOUNDEX('Syntax-Example')
Output
S532
Above example returns 4 character code for specified string.