mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
11 lines
468 B
Plaintext
11 lines
468 B
Plaintext
-- { echoOn }
|
|
DROP TABLE IF EMPTY data_02716_2;
|
|
DROP TABLE IF EMPTY data_02716_1; -- { serverError TABLE_NOT_EMPTY }
|
|
TRUNCATE TABLE data_02716_1;
|
|
DROP TABLE IF EMPTY data_02716_1;
|
|
DROP DATABASE IF EMPTY {CLICKHOUSE_DATABASE_1:Identifier}; -- { serverError NOT_IMPLEMENTED }
|
|
SELECT count() FROM system.tables WHERE database = {CLICKHOUSE_DATABASE_1:String};
|
|
1
|
|
SELECT count() FROM system.tables WHERE database = 'default' AND name IN ('data_02716_1', 'data_02716_2');
|
|
0
|