メインコンテンツまでスキップ
バージョン: 3.3

upper

Description​

文字列を大文字に変換します。

Syntax​

upper(str)

Parameters​

  • str: 変換する文字列。str が文字列型でない場合、最初に暗黙的なキャストを試みます。

Return values​

大文字の文字列を返します。

Examples​

MySQL [test]> select C_String, upper(C_String) from ex_iceberg_tbl;
+-------------------+-------------------+
| C_String | upper(C_String) |
+-------------------+-------------------+
| Hello, StarRocks! | HELLO, STARROCKS! |
| Hello, World! | HELLO, WORLD! |
+-------------------+-------------------+
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.