SDU Tools: Converting T-SQL Strings to PascalCase or camelCase

I've often had requests for code to convert strings to ProperCase and I described that in a recent blog post, but another common request is for either PascalCase or camelCase.

In PascalCase, all spaces between words are removed, the first letter of each word is capitalized, and the other letters in each word are lower case.

You can see it in this example:

camelCase is similar except that the first letter of the first word is not capitalized. The first letter of subsequent words are capitalized:

You can see them in action here:

For more information on our free SDU Tools, please visit:





Leave a Reply

Your email address will not be published. Required fields are marked *