ClickHouse/tests/queries/0_stateless/00492_drop_temporary_table.sql

13 lines
442 B
MySQL
Raw Normal View History

2018-01-31 15:56:52 +00:00
DROP TEMPORARY TABLE IF EXISTS temp_tab;
CREATE TEMPORARY TABLE temp_tab (number UInt64);
INSERT INTO temp_tab SELECT number FROM system.numbers LIMIT 1;
SELECT number FROM temp_tab;
2018-08-14 21:32:49 +00:00
SET send_logs_level = 'none';
2020-03-12 18:04:29 +00:00
EXISTS TEMPORARY TABLE temp_tab;
2018-02-02 13:17:45 +00:00
DROP TABLE temp_tab;
2020-03-12 18:04:29 +00:00
EXISTS TEMPORARY TABLE temp_tab;
2018-08-14 21:32:49 +00:00
SET send_logs_level = 'warning';
2018-01-31 15:56:52 +00:00
CREATE TEMPORARY TABLE temp_tab (number UInt64);
SELECT number FROM temp_tab;
DROP TEMPORARY TABLE temp_tab;