mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +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
|