Non-alphabetic characters are ignored when generating the Soundex code. If the input string contains no alphabetic characters, SOUNDEX returns an empty string.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<expression> | The string for which to generate the Soundex code. | TEXT |
Return Type
TEXT
Examples
The following example generates Soundex codes for different variations of a name:| soundex_smith text | soundex_smyth text | soundex_upper text |
|---|---|---|
| S530 | S530 | S530 |
Rows: 1Execution time: 6.09ms
| soundex_numbers text | soundex_symbols text | soundex_empty text |
|---|---|---|
Rows: 1Execution time: 6.15ms