ClickHouse/tests/queries/0_stateless/01073_attach_if_not_exists.sql
2021-09-12 17:15:28 +03:00

10 lines
224 B
SQL

-- Tags: no-parallel
CREATE TABLE aine (a Int) ENGINE = Log;
ATTACH TABLE aine; -- { serverError 57 }
ATTACH TABLE IF NOT EXISTS aine;
DETACH TABLE aine;
ATTACH TABLE IF NOT EXISTS aine;
EXISTS TABLE aine;
DROP TABLE aine;