ProperCase, TitleCase, InitCaps In MS SQL?

Jun 12, 2008

I foolishly assumed there would be an MSSQL function called something like ProperCase or InitCaps, which would work like UPPER() or LOWER() except to return the first letter of each word in upper case, and the rest in lower case.

Is there no built-in way to do that?

If not, is there a best practice solution? (C# rather than VB, given the choice, thanks).

View 2 Replies


ADVERTISEMENT

ProperCase() Script To Use In The Dataflow

Sep 25, 2006

Does anyone have a nice script that can "Propercase" the values of a column in the dataflow. I was thinking of a Transform Script Task, with a Input and Output Column, which can be transformed.

With Propercase i think:

STEVEN SPIELBERG becomming Steven Spielberg



Maybe also with some exceptions soo that "DELIVERY EU" stays "Delivery EU"

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved