mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
8 lines
261 B
SQL
8 lines
261 B
SQL
drop table if exists test_enum;
|
|
create table test_enum (c Nullable(Enum16('A' = 1, 'B' = 2))) engine Log;
|
|
insert into test_enum values (1), (NULL);
|
|
select * from test_enum;
|
|
select toString(c) from test_enum;
|
|
select toString('aaaa', NULL);
|
|
drop table test_enum;
|