Transforming String
What do you mean by transforming strings in MySQL ?
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
VulpesRank #55 · 29.2K reputationPosted Nov 13, 2011, 11:57 PM EST
Arjun PanwarRank #254 · 9.9K reputationPosted Nov 14, 2011, 12:33 AM EST
i want to know about to the string functions used in MySQl
uppercase - UCASE()
or
lowercase - LCASE()
VulpesRank #55 · 29.2K reputationPosted Nov 14, 2011, 12:40 AM EST
Similarly, LCASE() does the same as the LOWER() function which is to convert all the letters in the string to lower case:
Pravin MoreRank #1,419 · 1.2K reputationPosted Nov 14, 2011, 1:03 AM EST
We can change a lower case data ( string ) in our mysql table to upper case by using ucase function. Same way we can change upper case characters to lower case by using lcase function. Here is the syntax :-
select ucase('this is a string')
select lcase('This is a String')
Note:- But, When creating a stored function to manipulate string values it is not possible to getLower(), LCase(), Upper() or UCase() functions to work.
Thanks,
Pravin.
Arjun PanwarRank #254 · 9.9K reputationPosted Nov 14, 2011, 6:59 PM EST
Thanks Mr. vulpes for reply.
Arjun PanwarRank #254 · 9.9K reputationPosted Nov 14, 2011, 7:00 PM EST
Thank You.