Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 change the first letter to CAPS

Author  Topic 

misterraj
Yak Posting Veteran

94 Posts

Posted - 2014-12-19 : 10:43:32
I Want to change the first letter only to caps if it is in small for a particular column in a table.

can any one shed light on this please.

thanks
venkat.

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2014-12-19 : 11:05:08
update ...
set column1 = upper(substring(column1,1,1)) + right(column1, len(column1)-1)
Go to Top of Page
   

- Advertisement -