> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8c05c8a2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Nothing 数据类型文档

# Nothing

这种数据类型的唯一用途是表示不应出现值的情况。因此，你不能创建 `Nothing` 类型的值。

例如，字面量 [NULL](/zh/reference/syntax#null) 的类型为 `Nullable(Nothing)`。有关 [Nullable](/zh/reference/data-types/nullable) 的更多信息，请参见相关文档。

`Nothing` 类型也可用于表示空数组：

```sql theme={null}
SELECT toTypeName(array())
```

```text theme={null}
┌─toTypeName(array())─┐
│ Array(Nothing)      │
└─────────────────────┘
```
