Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The LOWER function returns a string expression after converting uppercase character data to lowercase.
An Azure Cosmos DB for NoSQL system function that returns a string expression with uppercase characters converted to lowercase.
Syntax
LOWER(<string_expr>)
Arguments
| Description | |
|---|---|
string_expr |
A string expression. |
Return types
Returns a string expression.
Examples
This section contains examples of how to use this query language construct.
Convert string to lowercase
In this example, the LOWER function is used to modify various strings.
SELECT VALUE {
lowercase: LOWER("adventureworks"),
uppercase: LOWER("ADVENTUREWORKS"),
camelCase: LOWER("adventureWorks"),
pascalCase: LOWER("AdventureWorks"),
upperSnakeCase: LOWER("ADVENTURE_WORKS")
}
[
{
"lowercase": "adventureworks",
"uppercase": "adventureworks",
"camelCase": "adventureworks",
"pascalCase": "adventureworks",
"upperSnakeCase": "adventure_works"
}
]
Remarks
- This function doesn't utilize the index.