2021-09-12 12:35:27 +00:00
|
|
|
|
2020-01-31 18:43:29 +00:00
|
|
|
SHOW TABLES NOT LIKE '%';
|
|
|
|
|
|
|
|
SHOW TABLES;
|
|
|
|
SELECT '---';
|
|
|
|
CREATE TABLE test1 (x UInt8) ENGINE = Memory;
|
|
|
|
CREATE TABLE test2 (x UInt8) ENGINE = Memory;
|
|
|
|
|
|
|
|
SHOW TABLES;
|
|
|
|
SELECT '--';
|
|
|
|
SHOW TABLES LIKE 'tes%';
|
|
|
|
SELECT '--';
|
|
|
|
SHOW TABLES NOT LIKE 'tes%';
|
|
|
|
SELECT '--';
|
|
|
|
SHOW TABLES LIKE 'tes%1';
|
|
|
|
SELECT '--';
|
|
|
|
SHOW TABLES NOT LIKE 'tes%2';
|
|
|
|
|
|
|
|
SELECT '---';
|
2023-08-15 18:37:39 +00:00
|
|
|
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier};
|
2020-01-31 18:43:29 +00:00
|
|
|
SELECT '--';
|
2023-08-15 18:37:39 +00:00
|
|
|
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} LIKE 'tes%';
|
2020-01-31 18:43:29 +00:00
|
|
|
SELECT '--';
|
2023-08-15 18:37:39 +00:00
|
|
|
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} NOT LIKE 'tes%';
|
2020-01-31 18:43:29 +00:00
|
|
|
SELECT '--';
|
2023-08-15 18:37:39 +00:00
|
|
|
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} LIKE 'tes%1';
|
2020-01-31 18:43:29 +00:00
|
|
|
SELECT '--';
|
2023-08-15 18:37:39 +00:00
|
|
|
SHOW TABLES FROM {CLICKHOUSE_DATABASE:Identifier} NOT LIKE 'tes%2';
|
2020-01-31 18:43:29 +00:00
|
|
|
|
2023-08-15 18:37:39 +00:00
|
|
|
DROP DATABASE {CLICKHOUSE_DATABASE:Identifier};
|