APPX Software Library

Chapter 4: SQL Language Elements

4.9.2.97 UPPER function (SQL-92 compatible)

Syntax

UPPER ( char_expression )

Description

The scalar function UPPER returns the result of the argument character expression after converting all the characters to upper case.

Example

SELECT *
     FROM  customer
     WHERE UPPER (name) = 'SMITH' ;

Notes

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