UCASE function [String]

Function

Converts all characters in a string to uppercase.

Syntax

UCASEstring-expression )

Parameters

string-expression The string to be converted to uppercase.

See “REPLACE function [String]” for more information.

Example

The following statement returns the value “CHOCOLATE”:

SELECT UCASE( 'ChocoLate' ) FROM iq_dummy

Usage

The result data type of a UCASE function is a LONG VARCHAR. If you use UCASE in a SELECT INTO statement, you must have a Large Objects Management option license or use CAST and set UCASE to the correct data type and size.

Standards and compatibility

See also

“LCASE function [String]”

“UPPER function [String]”