This SQL Server tutorial 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 functions in SQL Server (Transact-SQL) is:
LOWER( string )
Parameters or Arguments
string
The string to convert to lowercase.
Note
- See also the UPPER function.
Applies To
The LOWER functions 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 functions examples and explore how to use the LOWER functions in SQL Server (Transact-SQL).
For example:
SELECT LOWER('ADGLOB.IN'); Result: 'adglob.in' SELECT LOWER('Adglob.In'); Result: 'adglob.in' SELECT LOWER('Adg lob'); Result: 'adg lob'