SDU Tools: Converting T-SQL Strings to Snake Case and Kebab Case

SDU Tools: Converting T-SQL Strings to Snake Case and Kebab Case

In a recent blog post, I described converting strings to Proper Case and Title Case. And more recently, I described how to convert them to Pascal Case and Camel Case.

The final option (for now) in this set is conversion to Snake Case and Kebab Case.

In Snake Case, all words are lower-cased, then all spaces between words are replaced by underscores.

You can see it in this example:

Kebab Case is similar except that the first letter of each word is capitalized, and hyphens are used instead of underscores:

You can see them in action here:

YouTube Video

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

http://sdutools.sqldownunder.com

2017-12-29