mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
19 lines
384 B
MySQL
19 lines
384 B
MySQL
|
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;
|