Initcap in MySQL


Other dialects have initcap functions to turn a string like this: 'a sTring' into this 'A String'.

Wondering how you do that in MySQL?

There isn’t a way to do so simply in MySQL. Some people have created workarounds to accomplish it if you need to, like How can I achieve initcap functionality in MySQL? - Stack Overflow

Thanks @TPollo! I’ve added a snippet for that here: UDF INITCAP in MySQL