- Categorias:
Funções de cadeia de caracteres e binários (Conversão de maiúsculas/minúsculas)
UPPER¶
Retorna a cadeia de caracteres de entrada expr
com todos os caracteres convertidos em maiúsculas.
Sintaxe¶
UPPER( <expr> )
Detalhes do agrupamento¶
Arguments with collation specifications are currently not supported.
Exemplos¶
SELECT v, UPPER(v) FROM lu;
----------------------------------+----------------------------------+
v | upper(v) |
----------------------------------+----------------------------------+
| |
1č2Щ3ß4Ę!-?abc@ | 1Č2Щ3SS4Ę!-?ABC@ |
AaBbCcDdEeFfGgHhIiJj | AABBCCDDEEFFGGHHIIJJ |
KkLlMmNnOoPpQqRrSsTt | KKLLMMNNOOPPQQRRSSTT |
UuVvWwXxYyZz | UUVVWWXXYYZZ |
ÁáÄäÉéÍíÓóÔôÚúÝý | ÁÁÄÄÉÉÍÍÓÓÔÔÚÚÝÝ |
ÄäÖößÜü | ÄÄÖÖSSÜÜ |
ÉéÀàÈèÙùÂâÊêÎîÔôÛûËëÏïÜüŸÿÇ猜Ææ | ÉÉÀÀÈÈÙÙÂÂÊÊÎÎÔÔÛÛËËÏÏÜÜŸŸÇÇŒŒÆÆ |
ĄąĆćĘꣳŃńÓ󌜏źŻż | ĄĄĆĆĘĘŁŁŃŃÓÓŚŚŹŹŻŻ |
ČčĎďĹ弾ŇňŔ੹ŤťŽž | ČČĎĎĹĹĽĽŇŇŔŔŠŠŤŤŽŽ |
АаБбВвГгДдЕеЁёЖжЗзИиЙй | ААББВВГГДДЕЕЁЁЖЖЗЗИИЙЙ |
КкЛлМмНнОоПпРрСсТтУуФф | ККЛЛММННООППРРССТТУУФФ |
ХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя | ХХЦЦЧЧШШЩЩЪЪЫЫЬЬЭЭЮЮЯЯ |
[NULL] | [NULL] |
----------------------------------+----------------------------------+