Comment convertir en majuscule les lettres accentuées
By philippe on Sunday 9 March 2008, 17:33 - Firebird other - Permalink
Si on utilise ISO8859_1 comme jeu de caractères, on peut choisir comment
convertir en majuscule les lettres accentuées
par exemple :
SELECT
UPPER(CAST('aeiouéèàüûôë' AS CHAR(12) CHARACTER SET ISO8859_1) )
C_NP,
UPPER(CAST('aeiouéèàüûôë' AS CHAR(12) CHARACTER SET ISO8859_1) COLLATE FR_FR)
C_FR_FR,
UPPER(CAST('aeiouéèàüûôë' AS CHAR(12) CHARACTER SET ISO8859_1) COLLATE FR_CA)
C_FR_CA
FROM RDB$DATABASE;
donne comme résultat :
C_NP C_FR_FR C_FR_CA
--------------------------------------
AEIOUéèàüûôë AEIOUEEAUUOE AEIOUÉÈÀÜÛÔË