2019-06-03 17:36:27 +00:00
|
|
|
drop temporary table if exists test_00670;
|
|
|
|
create temporary table test_00670(id int);
|
2018-07-10 14:24:19 +00:00
|
|
|
|
|
|
|
select '======Before Truncate======';
|
2019-06-03 17:36:27 +00:00
|
|
|
insert into test_00670 values(0);
|
|
|
|
select * from test_00670;
|
2018-07-10 14:24:19 +00:00
|
|
|
|
|
|
|
select '======After Truncate And Empty======';
|
2019-06-03 17:36:27 +00:00
|
|
|
truncate temporary table test_00670;
|
|
|
|
select * from test_00670;
|
2018-07-10 14:24:19 +00:00
|
|
|
|
|
|
|
select '======After Truncate And Insert Data======';
|
2019-06-03 17:36:27 +00:00
|
|
|
insert into test_00670 values(0);
|
|
|
|
select * from test_00670;
|
2018-07-10 14:24:19 +00:00
|
|
|
|
2019-06-03 17:36:27 +00:00
|
|
|
drop temporary table test_00670;
|