capitalize 1st letter in sql server

Solutions on MaxInterview for capitalize 1st letter in sql server by the best coders in the world

showing results for - "capitalize 1st letter in sql server"
Marta
22 Jul 2018
1mysql> Select CONCAT(UPPER(SUBSTRING(name,1,1)),LOWER(SUBSTRING(name,2))) AS Name from emp_tbl;
2+----------------+
3| Name           |
4+----------------+
5| Rahul singh    |
6| Gaurav kumar   |
7| Yashpal sharma |
8| Krishan kumar  |
9| Kuldeep rai    |
10| Munish nayak   |
11+----------------+
126 rows in set (0.00 sec)