UPPER (Azure Cosmos DB)UPPER (Azure Cosmos DB)

返回在将小写字符数据转换为大写后的字符串表达式。Returns a string expression after converting lowercase character data to uppercase.

语法Syntax

UPPER(<str_expr>)  

参数Arguments

str_exprstr_expr
是一个字符串表达式。Is a string expression.

返回类型Return types

返回一个字符串表达式。Returns a string expression.

示例Examples

以下示例演示如何在查询中使用 UPPERThe following example shows how to use UPPER in a query

SELECT UPPER("Abc") AS upper  

下面是结果集。Here is the result set.

[{"upper": "ABC"}]  

后续步骤Next steps