+ 1

What is I just want to just convert the first letter in uppercase? What do i do?

25th Jan 2017, 3:01 PM
Vedant Daga
Vedant Daga - avatar
4 Answers
+ 6
.
13th Jun 2017, 3:52 PM
priyanshu_irl_
priyanshu_irl_ - avatar
+ 3
It is called as Camel Case in all languages you can just Search on Google about using Camel Case on sql
1st Feb 2017, 3:31 PM
Harsh Khatri
Harsh Khatri - avatar
+ 3
if you want just the first letter in the string you can do the following: select concat (upper (left ([colName],1)),substring ([colName],2,len ([colName]))) from [tableName] it works by - selecting the first letter using the left function for 1 character combined with the builtin upper function. upper (left ([colName],1)) we then get the rest of the string by using substring which starts at character 2 and gets characters for the length of the string. using concat the results are joined to give you the answer. camel case will require a bit more work.
10th Feb 2017, 10:36 AM
Luke T
Luke T - avatar
+ 1
thanks to both of you! 😁
10th Feb 2017, 11:03 AM
Vedant Daga
Vedant Daga - avatar