SOUNDEX

All functions > STRING > SOUNDEX

Converts a string to its Soundex phonetic representation.

Syntax

SOUNDEX(expr)
sql

Arguments

ParameterTypeRequiredDescription
stringVARCHARYesString to convert to Soundex code

Returns

Four-character Soundex code representing the phonetic sound

Notes

  • Used for fuzzy string matching based on pronunciation
  • Words that sound similar have the same Soundex code
  • Result is always a letter followed by three digits
  • Useful for matching names despite spelling variations

Examples

Last update at: 2025/10/13 10:23:46