Product Documentation

SQL Reference Guide

Previous Topic

Next Topic

UCASE function (ODBC compatible)

Syntax

UCASE ( char_expression )

Description

The scalar function UCASE returns the result of the argument character expression after converting all the characters to uppercase. UCASE is identical to UPPER, but provides ODBC-compatible syntax.

Example

SELECT *

FROM customer

WHERE UCASE (name) = 'SMITH' ;

Notes

  • The argument to the function must be of character type.
  • The result is of character type.
  • If the argument expression evaluates to null, the result is null.

TOCIndex