sql lowercase a word code example
Example: capitalize 1st letter in sql server
mysql> Select CONCAT(UPPER(SUBSTRING(name,1,1)),LOWER(SUBSTRING(name,2))) AS Name from emp_tbl;
+----------------+
| Name |
+----------------+
| Rahul singh |
| Gaurav kumar |
| Yashpal sharma |
| Krishan kumar |
| Kuldeep rai |
| Munish nayak |
+----------------+
6 rows in set (0.00 sec)