Capitalize Only the First Letter of Each Word

SarahLSarahL Administrator, Moderator, Employee, Registered User, VerticaExpert, CABuser, VerticaPartners
edited May 2018 in Vertica Tips

Jim Knicely wrote this tip.

A few years ago, when I was an Oracle DBA, a client thought they’d stump me by asking how they could capitalize only the first letter of each word for a given input. I immediately said try the INITCAP function. She was amazed. Guess what?? Vertica has the same function!


dbadmin=> SELECT INITCAP('vertica is amazing');
Vertica Is Amazing
(1 row)

Have Fun!

Sign In or Register to comment.