SDU Tools: COBOL-CASE in SQL Server T-SQL
I’ve had a lot of good feedback about the options that we’ve provided in our free SDU Tools for developers and DBAs for formatting strings. Someone recently asked for a format with all capitals and dashes in between. I realised we didn’t have that, and we’ve added it. Generally, in the industry, this is referred to as Cobol Case.
So, we added a function CobolCase.
It takes one parameter:
@InputString - the string to be formatted
2021-01-29