Hi guys,
Can someone tell me the use of UCASE() function in SQL?
SQL UCASE() function
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priya LingeRank #785 · 2.9K reputationPosted Nov 27, 2011, 7:19 PM EST
1.The UCASE() function converts the value of a field to uppercase.
2.SQL UCASE() Syntax
SELECT UCASE(column_name) FROM table_name
3.Syntax for SQL Server
SELECT UPPER(column_name) FROM table_name
4.Example :
SELECT UCASE(LastName) as LastName,FirstName FROM Persons
OutPut :
LastName FirstName
SHARMA Sachin
For more information please check below links,
http://www.roseindia.net/sql/sql-ucase-function.shtml
Hope this will help you.
Thanks.
Prashant ChaudharyRank #1,151 · 1.6K reputationPosted Nov 27, 2011, 7:14 PM EST
This function is used for converting the text in upper case . Like abc will get converted into ABC.
Hemant KumarRank #1,202 · 1.5K reputationPosted Nov 27, 2011, 7:16 PM EST
The UCASE() Function
The UCASE() function converts the value of a field to uppercase.
SQL UCASE() Syntax
Syntax for SQL Server
Akash AhlawatRank #3,915 · 379 reputationPosted Nov 28, 2011, 6:32 PM EST