Aller au contenu

Remplace des caractères d’une chaîne selon une table de correspondance de caractères.

func.translate(<str>, <from>, <to>)
func.translate('hello', 'el', 'ip')
┌─────────┐
│ 'hippo' │
└─────────┘
TRANSLATE(<str>, <from>, <to>)
SELECT TRANSLATE('hello', 'el', 'ip');
┌───────┐
│ hippo │
└───────┘