Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 820 Bytes

File metadata and controls

39 lines (28 loc) · 820 Bytes
description
Returns the input expression with all the characters converted to lowercase.

LOWER

Syntax

LOWER(expression varchar) → varchar

  • expression: String to convert to lowercase.

Examples

{% code title="LOWER example" %}

SELECT LOWER('A GUIDE to data Lakehouses')
-- a guide to data lakehouses

{% endcode %}

{% code title="LOWER example" %}

SELECT Category, LOWER(Category) 
  FROM eth.recent_blocks 
  LIMIT 3

-- Category, EXPR$1
-- WEAPON LAWS, weapon laws
-- WEAPON LAWS, weapon laws
-- WARRANTS, warrants

{% endcode %}

Usage Notes

LOWER is a synonym for LCASE.

\