SQL · String functions

initcap()

Capitalises each word. PostgreSQL only.

Syntax
initcap(text)

Example

Open in the lab

More in this group

ascii() char_length() chr() concat_ws() format() instr() with start left() / right() like with escape

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course