mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +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;
|