更新时间:2023-09-22 GMT+08:00
soundex
soundex函数用于从str返回一个soundex字符串,如soundex('Miller')= M460。
命令格式
soundex(string <str>)
参数说明
| 参数 | 是否必选 | 参数类型 | 说明 |
|---|---|---|---|
| str | 是 | STRING | 待转换的字符串。 |
返回值说明
返回STRING类型的值。
str值为NULL时,返回NULL。
示例代码
返回M460
SELECT soundex('Miller'); 父主题: 字符串函数