mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
12 lines
533 B
SQL
12 lines
533 B
SQL
-- Tags: no-parallel
|
|
|
|
DROP DATABASE IF EXISTS replicated_database_params;
|
|
|
|
CREATE DATABASE replicated_database_params ENGINE = Replicated('some/path/' || currentDatabase() || '/replicated_database_params');
|
|
SHOW CREATE DATABASE replicated_database_params;
|
|
DROP DATABASE replicated_database_params;
|
|
|
|
CREATE DATABASE replicated_database_params ENGINE = Replicated('some/path/' || currentDatabase() || '/replicated_database_params', 'shard_1');
|
|
SHOW CREATE DATABASE replicated_database_params;
|
|
DROP DATABASE replicated_database_params;
|