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

7 lines
252 B
SQL

SET send_logs_level = 'fatal';
SELECT if(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
SELECT if(1); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
SELECT if(1, 1); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
SELECT if(1, 1, 1);