ClickHouse/tests/queries/0_stateless/01073_attach_if_not_exists.sql
2020-04-03 18:59:59 +03:00

8 lines
202 B
SQL

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;