Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Convert Text to Proper Case is huge problme - response (5) by Teraditya

$
0
0
I am working on a similar problem with First and Last names. I am using this in the view for formatting the last name - UPPER(SUBSTR(FIRST_NAME,1,1)) ||   LOWER(SUBSTR(FIRST_NAME,2) )     AS FIRST_NAMEThis works for one word last names such as SMITH which is now displayed as Smith, but names such as SMITH-VO are displayed as Smith-vo. I guess I might have to split such names based on hyphen and then Capitalize both split pieces. Do this for names like O'BRIEN as well with the apostrophe. Anybody know of a better way to do this?

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>