Converts all characters in a string to uppercase.
UCASE ( string-expression )
string-expression The string to be converted to uppercase.
See “REPLACE function [String]” for more information.
The following statement returns the value “CHOCOLATE”:
SELECT UCASE( 'ChocoLate' ) FROM iq_dummy
The result datatype 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 datatype and size.
Sybase UCASE is not supported by Adaptive Server Enterprise, but UPPER provides the same feature in a compatible manner.