2018-09-04 11:18:59 +00:00
< a name = "special_data_type-nothing" > < / a >
# Nothing
2018-09-06 16:35:14 +00:00
The only purpose of this data type is to represent cases where value is not expected. So you can't create a `Nothing` type value.
2018-09-04 11:18:59 +00:00
2018-09-06 16:35:14 +00:00
For example, literal [NULL ](../../query_language/syntax.md#null-literal ) has type of `Nullable(Nothing)` . See more about [Nullable ](../../data_types/nullable.md#data_type-nullable ).
2018-09-05 08:41:04 +00:00
2018-09-06 16:35:14 +00:00
The `Nothing` type can also used to denote empty arrays:
2018-09-04 11:18:59 +00:00
```bash
2018-09-06 16:35:14 +00:00
:) SELECT toTypeName(array())
2018-09-04 11:18:59 +00:00
SELECT toTypeName([])
┌─toTypeName(array())─┐
│ Array(Nothing) │
└─────────────────────┘
1 rows in set. Elapsed: 0.062 sec.
```
2018-10-16 10:47:17 +00:00
[Original article ](https://clickhouse.yandex/docs/en/data_types/special_data_types/nothing/ ) <!--hide-->