ClickHouse/dbms/tests/queries/0_stateless/00492_drop_temporary_table.sql
Alexey Milovidov c80db48a6e Merging #2482
2018-08-15 00:32:49 +03:00

11 lines
376 B
SQL

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;
SET send_logs_level = 'none';
DROP TABLE temp_tab;
SET send_logs_level = 'warning';
CREATE TEMPORARY TABLE temp_tab (number UInt64);
SELECT number FROM temp_tab;
DROP TEMPORARY TABLE temp_tab;