APPX Software Library

Chapter 4: SQL Language Elements

4.9.2.40 LCASE function (ODBC compatible)

Syntax

LCASE ( char_expression )

Description

The scalar function LCASE returns the result of the argument character expression after converting all the characters to lower case. LCASE is the same as LOWER but provides ODBC-compatible syntax.

Example

SELECT *
     FROM  customer
     WHERE LCASE (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.