SOUNDEX Function

This function returns a 4-character code which can be used to compare with the sound of other strings. The code represents the sound of the words in the argument.

The SOUNDEX function has this syntax:

SOUNDEX Function

1  SOUNDEX ( source_string )
Element Description Syntax
source_string String of characters argument to the SOUNDEX function Must be an expression, constant, column, or host variable of a data type that can be converted to a character data type

The data type of the return value is CHAR(4). If the argument is null, then the result is the null value.

Use this fuction to find the strings for which the sound is known but the actual spelling is not known. This funtion converts the given expression into a four-digit code based on the sound of the expression .