totn MariaDB Functions

MariaDB: LOWER Function

This MariaDB tutorial explains how to use the MariaDB LOWER function with syntax and examples.

Description

The MariaDB LOWER function converts all characters in the specified string to lowercase. If there are characters in the string that are not letters, they are unaffected by this function.

Syntax

The syntax for the LOWER function in MariaDB is:

LOWER( string )

Parameters or Arguments

string
The string to convert to lowercase.

Note

  • The LOWER function will convert the characters using the current character mapping set, which is latin1, by default.
  • The LCASE function is a synonym for the LOWER function.

Applies To

The LOWER function can be used in the following versions of MariaDB:

  • MariaDB 10

Example

Let's look at some MariaDB LOWER function examples and explore how to use the LOWER function in MariaDB.

For example:

SELECT LOWER('TechOnTheNet.com');
Result: 'techonthenet.com'

SELECT LOWER('Learn about MariaDB with TechOnTheNet.com!');
Result: 'learn about mariadb with techonthenet.com!'