---
title: Literals
description: Supported literal types in Analytics Engine SQL.
image: https://developers.cloudflare.com/core-services-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/analytics/llms.txt  
> Use this file to discover all available pages before exploring further.

[Skip to content](#%5Ftop) 

# Literals

The following literals are supported:

| Type          | Syntax                                                                                |
| ------------- | ------------------------------------------------------------------------------------- |
| integer       | 42, \-42                                                                              |
| double        | 4.2, \-4.2                                                                            |
| string        | 'so long and thanks for all the fish'                                                 |
| boolean       | true or false                                                                         |
| time interval | INTERVAL '42' DAYIntervals of YEAR, MONTH, DAY, HOUR, MINUTE and SECOND are supported |

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/analytics/","name":"Analytics"}},{"@type":"ListItem","position":3,"item":{"@id":"/analytics/analytics-engine/","name":"Workers Analytics Engine"}},{"@type":"ListItem","position":4,"item":{"@id":"/analytics/analytics-engine/sql-reference/","name":"SQL Reference"}},{"@type":"ListItem","position":5,"item":{"@id":"/analytics/analytics-engine/sql-reference/literals/","name":"Literals"}}]}
```
