mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 15:01:03 +00:00
17 lines
390 B
SQL
17 lines
390 B
SQL
drop temporary table if exists test;
|
|
create temporary table test(id int);
|
|
|
|
select '======Before Truncate======';
|
|
insert into test values(0);
|
|
select * from test;
|
|
|
|
select '======After Truncate And Empty======';
|
|
truncate temporary table test;
|
|
select * from test;
|
|
|
|
select '======After Truncate And Insert Data======';
|
|
insert into test values(0);
|
|
select * from test;
|
|
|
|
drop temporary table test;
|