Skip to main content

Posts

Showing posts with the label SOUNDEX

SQL Built-In Functions, String Functions,SOUNDEX

Returns a four-character (SOUNDEX) code to evaluate the similarity of two strings. Syntax SOUNDEX ( character_expression ) Arguments character_expression Is an alphanumeric expression of character data. character_expression can be a constant, variable, or column. Return Types varchar  **  SOUNDEX converts an alphanumeric string to a four-character code to find similar-sounding words or names. The first character of the code is the first character of character_expression and the second through fourth characters of the code are numbers. Vowels in character_expression are ignored unless they are the first letter of the string. String functions can be nested **   Examples The following example shows the SOUNDEX function and the related DIFFERENCE function. In the first example, the standard SOUNDEX values are returned for all consonants. Returning the SOUNDEX for Smith and Smythe returns the same SOUNDEX result because...