QUOTE_IDENT

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns a string suitably quoted to be used as an SQL identifier.

Syntax 

1quote_ident(<string>)

Arguments 

Required 

  • <string>: The identifier string to quote.

Returns 

Returns a text value with appropriate quoting for use as an identifier.

Considerations 

  • Quotes are added only if necessary (special characters or case-folding).
  • Embedded quotes are properly doubled.

Examples 

Quote Identifier 

Quote an identifier with spaces.

1SELECT quote_ident('Foo bar') AS result;

Returns '"Foo bar"'.

Related Documentation 

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!