mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
19 lines
384 B
SQL
19 lines
384 B
SQL
create temporary table test (
|
|
data int,
|
|
default Nullable(DateTime) DEFAULT '1977-01-01 00:00:00'
|
|
) engine = Memory();
|
|
|
|
insert into test (data) select 1;
|
|
|
|
select * from test;
|
|
|
|
drop temporary table test;
|
|
|
|
create temporary table test (
|
|
data int,
|
|
default DateTime DEFAULT '1977-01-01 00:00:00'
|
|
) engine = Memory();
|
|
insert into test (data) select 1;
|
|
|
|
select * from test;
|