Sql Server Lower Function

SQL Server: LOWER Function

In this post explains how to use the LOWER function in SQL Server (Transact-SQL) with syntax and examples.

Description

In SQL Server (Transact-SQL), the LOWER function converts all letters 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 SQL Server (Transact-SQL) is:

LOWER( string )

Parameters or Arguments

string

The string to convert to lowercase.

Note

Applies To

The LOWER function can be used in the following versions of SQL Server (Transact-SQL):

  • SQL Server 2017, SQL Server 2016, SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005

Example

Let's look at some SQL Server LOWER function examples and explore how to use the LOWER function in SQL Server (Transact-SQL).

For example:

SELECT LOWER('AODBA.COM');
Output: 'aodba.com'

SELECT LOWER('AODBA.com');
Output: 'aodba.com'

SELECT LOWER('ap Dba');
Output: 'ao dba'