First letter of each word in uppercase Postgresql

Unlike other database engines Postgresql provides us with the initcap() function to apply capital letter to our chains. Here is an example:

SELECT initcap('HELLO WORLD');

Result:

Hello World

I hope it’s usefull

También te podría gustar...

Deja una respuesta

Tu dirección de correo electrónico no será publicada.