Oracle® TimesTen In-Memory Database SQL Reference Release 11.2.1 Part Number E13070-03 |
|
|
View PDF |
The LOWER function converts expressions of type CHAR, NCHAR, VARCHAR2 or NVARCHAR2 to lowercase. The UPPER function converts expressions of type CHAR, NCHAR, VARCHAR2 or NVARCHAR2 to uppercase. Character semantics is supported for CHAR and VARCHAR2 types. The data type of the result is the same as the data type of the expression.
SQL syntax
{UPPER | LOWER} (Expression1)
Parameters
LOWER and UPPER have the following parameter:
Parameter | Description |
---|---|
Expression1 |
An expression which is converted to lowercase (using LOWER) or uppercase (using UPPER). |
Description
LOWER(?) and UPPER(?) are not supported, but you can combine it with the CAST operator. For example:
LOWER(CAST(? AS CHAR(30))) Command> SELECT LOWER (last_name) FROM employees WHERE employee_id = 100; < king > 1 row found.