AW: Suche nach Begriffen in DB, die zu 80% passen
SOUNDEX kapiere ich nicht...
SOUNDEX(str)
Returns a soundex string from str. Two strings that sound almost the same should have identical soundex strings. A standard soundex string is four characters long, but the SOUNDEX() function returns an arbitrarily long string. You can use SUBSTRING() on the result to get a standard soundex string. All non-alphabetic characters are ignored in the given string. All international alphabetic characters outside the A-Z range are treated as vowels.
mysql> SELECT SOUNDEX('Hello');
-> 'H400'
mysql> SELECT SOUNDEX('Quadratically');
-> 'Q36324'
Was mache ich dann mit "Q36324"? Oder ist die Ausgabe des Strings für mich uninteressant und MySQL sucht schon nach ähnlichen Ergebnissen?
» Vegetarier essen meinem Essen das Essen weg.
Lesezeichen