ClickHouse/dbms/tests/queries/0_stateless/00998_constraints_all_tables.reference
Alexey Milovidov 2fc177830c Added a test
2019-08-25 01:01:01 +03:00

15 lines
365 B
Plaintext

0
0
3
0
0
3
0
0
3
0
0
3
CREATE TABLE default.constrained (`URL` String, CONSTRAINT is_yandex CHECK domainWithoutWWW(URL) = 'yandex.ru', CONSTRAINT is_utf8 CHECK isValidUTF8(URL)) ENGINE = Log
CREATE TABLE default.constrained2 (`URL` String, CONSTRAINT is_yandex CHECK domainWithoutWWW(URL) = 'yandex.ru', CONSTRAINT is_utf8 CHECK isValidUTF8(URL)) ENGINE = Log