SQL - UCASE
UCASE() Function दिए गए string को uppercase में convert करके return करता है |
Syntax for UCASE() String SQL Function
UCASE(str)
Parameter :
str : यहाँ पर string दिया जाता है |
UCASE() और UPPER() ये दोनों एक जैसे funtions है |
Example for UCASE() String Function in SQL
Example पर दिए string को uppercase में convert करके return किया गया है |
Source Code :Output :SELECT UCASE("HEllo WORld");
+----------------------+ | UCASE("HEllo WORld") | +----------------------+ | HELLO WORLD | +----------------------+
Another Example for UCASE() String Function in SQL
Example पर Appliances इस table के Appliances इस column की सभी values को uppercase में convert किया गया है |
Source Code :Output :SELECT UCASE(Appliances) FROM Appliances;
+-------------------+ | UCASE(Appliances) | +-------------------+ | WASHING MACHINE | | T.V. | | WASHING MACHINE | | REFRIGERATOR | | COOLER | | A.C. | | IRON | | LAPTOP | +-------------------+