Product Documentation

SQL Reference Guide

Previous Topic

Next Topic

LOWER function (SQL-92 compatible)

Syntax

LOWER ( char_expression )

Description

The scalar function LOWER returns the result of the argument character expression after converting all the characters to lowercase.

Example

SELECT *

FROM customer

WHERE LOWER (name) = 'smith' ;

Notes

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

TOCIndex