SOUNDEX()

Overview

Returns the Soundex representation of a string.

USAGE

SOUNDEX(string)

Argument Name

Description

str

The string to transform

DETAILS

SOUNDEX() is a string function that returns the Soundex string equivalent of the string argument.

A Soundex string will be the same for similar sounding words. As an example, the words "seas" and "sees" have the same return value.

A NULL is returned if the argument is NULL.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

SELECT SOUNDEX('Seas'), SOUNDEX('sees');
+-----------------+-----------------+
| SOUNDEX('Seas') | SOUNDEX('sees') |
+-----------------+-----------------+
| S000            | S000            |
+-----------------+-----------------+
SELECT SOUNDEX('mariadb');
+--------------------+
| SOUNDEX('mariadb') |
+--------------------+
| M631               |
+--------------------+
SELECT SOUNDEX('Robert'), SOUNDEX('Rupert');
+-------------------+-------------------+
| SOUNDEX('Robert') | SOUNDEX('Rupert') |
+-------------------+-------------------+
| R163              | R163              |
+-------------------+-------------------+

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES