ClickHouse/tests/queries/0_stateless/00670_truncate_temporary_table.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

17 lines
444 B
SQL

drop temporary table if exists test_00670;
create temporary table test_00670(id int);
select '======Before Truncate======';
insert into test_00670 values(0);
select * from test_00670;
select '======After Truncate And Empty======';
truncate temporary table test_00670;
select * from test_00670;
select '======After Truncate And Insert Data======';
insert into test_00670 values(0);
select * from test_00670;
drop temporary table test_00670;