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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arjun PanwarPosted Nov 15, 2011, 12:00 AM
Thank You.
Arjun PanwarPosted Nov 14, 2011, 11:59 PM
Thanks Mr. vulpes for reply.
Pravin MorePosted Nov 14, 2011, 6:03 AM
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.
VulpesPosted Nov 14, 2011, 5:40 AM
Similarly, LCASE() does the same as the LOWER() function which is to convert all the letters in the string to lower case:
Arjun PanwarPosted Nov 14, 2011, 5:33 AM
i want to know about to the string functions used in MySQl
uppercase - UCASE()
or
lowercase - LCASE()
VulpesPosted Nov 14, 2011, 4:57 AM