---
schema_version: "1"
id: ec2f16919766bc3bd281aa1c7ac4cc0a8f8d597c102b8d30db2036c8a8b2de57
title: QUOTE_IDENT
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-query-guide/references/data-cloud-sql-reference/scalar-func/string-func/quote-ident.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/quote-ident.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: da4cc7129c4dedd7bf558fab74efbeb5885ee11e70039a5ed25972c6e2207a0d
products:
  - Data 360 Query Guide
  - Data 360 Developer Documentation
---
# `QUOTE_IDENT`

**Applies to:** ✅ Data 360 SQL ✅ Tableau Hyper API

Returns a string suitably quoted to be used as an SQL identifier.

## Syntax

```sql
quote_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.

```sql
SELECT quote_ident('Foo bar') AS result;
```

Returns `'"Foo bar"'`.

## Related Documentation

- [String Types](https://developer.salesforce.com/docs/data/data-cloud-query-guide/datatype/string.md)
