ClickHouse/tests/queries/0_stateless/02788_current_schemas_function.sql
2024-05-30 19:41:08 +00:00

4 lines
229 B
SQL

SELECT current_schemas(true) AS result;
SELECT current_schemas(false) AS result;
SELECT current_schemas(1); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT current_schemas(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }