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

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:

YouTube Video

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

http://sqldownunder.com/sdu-tools

2017-12-15