The UPPER function converts alphabetic characters in a text value to uppercase.
Standardizing text capitalization helps improve consistency during reporting, comparison, and data cleansing.
Display all employee names in uppercase.
SELECT
UPPER(EmployeeName) AS EmployeeName
FROM Employees;
UPPER is useful for data standardization, matching, reporting, validation, and preparing consistent text output.
- UPPER converts text to uppercase.
- It is commonly used for standardization.
- It can be used in SELECT expressions.
- It can be combined with other string functions.
- Function behavior may depend on database collation.
What does UPPER do?
UPPER converts alphabetic characters in a text value to uppercase.
Why use UPPER in data analysis?
It helps standardize text values and can make comparisons and reporting more consistent.