Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

LOWER function - Amazon Redshift

LOWER function

Converts a string to lowercase. LOWER supports UTF-8 multibyte characters, up to a maximum of four bytes per character.

Syntax

LOWER(string)

Argument

string

A VARCHAR string or any expression that evaluates to the VARCHAR type.

Return type

string

The LOWER function returns a string that is the same data type as the input string. For example, if the input is a CHAR string, the function will return a CHAR string.

Examples

The following example uses data from the CATEGORY table in the TICKIT sample database. For more information, see Sample database.

To convert the VARCHAR strings in the CATNAME column to lowercase, use the following example.

SELECT catname, LOWER(catname) FROM category ORDER BY 1,2; +-----------+-----------+ | catname | lower | +-----------+-----------+ | Classical | classical | | Jazz | jazz | | MLB | mlb | | MLS | mls | | Musicals | musicals | | NBA | nba | | NFL | nfl | | NHL | nhl | | Opera | opera | | Plays | plays | | Pop | pop | +-----------+-----------+
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.