SELECT TRANSLATE('NEE', 'Ee', 'Ee')
--NEE
SELECT TRANSLATE('NEE', 'eE', 'eE')
--Nee
SELECT TRANSLATE('NÉE', 'Éé', 'Ee')
--NEE
SELECT TRANSLATE('NÉE', 'éÉ', 'eE')
--NeE
How do you prevent a match by a differently cased character ? In the above examples, output with lower case character were not what I expected.
For case-sensitive function calls, easiest is to use a case sensitive collation.
Testscript:
Outputs: