Documentazione Invantiveparte di invantive cloud
Forum di supporto InvantiveAccedi / Registrati

METAPHONE3

Sintassi

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> METAPHONE3[METAPHONE3]:::quoted
    METAPHONE3 --> End((END))

Scopo

La funzione SQL METAPHONE3 converte un valore nel codice Metaphone 3, la terza generazione dell'algoritmo Metaphone come definito su Wikipedia.

Vedi anche METAPHONE, METAPHONE3_ALT, DMETAPHONE e SOUNDEX.

Parametri:

  • Input (varchar2): valore da convertire nel codice Metaphone 3.

Restituisce: il codice Metaphone 3 dell'input come varchar2.

Esempi

L'esempio seguente recupera il codice Metaphone 3 dell'immagine Stephen:

select metaphone3('Stephen')

-------------------
STAVAN

L'esempio seguente recupera il codice Metaphone 3 dell'immagine Alfred Johnson:

select metaphone3('Alfred Johnson')

-------------------
ALFRADJA