Untitled

mail@pastecode.io avatar
unknown
mysql
2 years ago
176 B
3
Indexable
Never
CREATE TABLE klient(
datum_narozeni DATE NOT NULL
);

ALTER TABLE klient ADD CHECK (datum_narozeni < '2023-01-01');

INSERT INTO klient (datum_narozeni)
VALUES
('2023-02-01'
);