initcap
function
Applies to: Databricks SQL Databricks Runtime
Returns expr
with the first letter of each word in uppercase.
Syntax
initcap(expr)
Arguments
expr
: A STRING expression.
Returns
A STRING.
All other letters are in lowercase. Words are delimited by white space.
Examples
> SELECT initcap('sPark sql');
Spark Sql
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for