## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> DMETAPHONE[DxMETAPHONE]:::quoted DMETAPHONE --> End((END)) ``` ## Purpose The `DMETAPHONE` SQL function converts a value to the Metaphone code as defined on [Wikipedia](https://en.wikipedia.org/wiki/Metaphone). Parameters: - Input (`varchar2`): value to convert to double metaphone. Returns: the four character double metaphone of the input as a `varchar2`. ## Examples The following example retrieves the double metaphone of `fabulous`: ```sql select dmetaphone('fabulous') ------------------- FPLS ``` The following example retrieves the double metaphone of `success`: ```sql select dmetaphone('success') ------------------- SKSS ```