METAPHONE
Sintassi
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> METAPHONE[METAPHONE]:::quoted
METAPHONE --> End((END))
Scopo
La funzione SQL METAPHONE converte un valore nel codice Metaphone, come definito su Wikipedia.
Vedi anche DMETAPHONE, METAPHONE3 e SOUNDEX.
Parametri:
- Input (
varchar2): valore da convertire in Metaphone. - Lunghezza (
int32): lunghezza massima dell'output per l'input specificato.
Restituisce: l'input convertito in Metaphone, con una lunghezza di output specificata.
Esempi
L'esempio seguente recupera il Metaphone dell'Stephen:
select metaphone('Stephen', 100)
-------------------
STFN
L'esempio seguente recupera il Metaphone dell'Ronald:
select metaphone('Ronald', 100)
-------------------
RNLT