QUOTE_IDENT

The QUOTE_IDENT function is used to make a given string with suitably double quoted, so as it can be used like an identifier in an SQL statement string if required.

Syntax

QUOTE_IDENT(string)

Example

SELECT quote_ident('De''angelo')

The above query returns:

“De’angelo”