SQL Server Documentation

String Functions

LOWER (Transact‑SQL)

Synopsis

LOWER ( character_expression )

Returns character_expression with all uppercase letters converted to lowercase.

Syntax

ParameterTypeDescription
character_expressioncharacter, varchar, nvarchar, text, ntextThe string to convert. If NULL, the result is NULL.

Return Value

Same data type as the input expression. If the input is NULL, the result is NULL.

Examples

SELECT LOWER('SQL SERVER') AS Lowered;
-- Result: sql server

DECLARE @txt NVARCHAR(50) = N'ÄÜÖß';
SELECT LOWER(@txt) AS LoweredUnicode;
-- Result: äüöß
SELECT LOWER('SQL SERVER') AS Lowered;
SELECT LOWER(@txt) AS LoweredUnicode;

Usage Notes

Related Functions