ClickHouse/tests/queries/0_stateless/01691_DateTime64_clamp.sql
2021-02-07 02:24:31 +03:00

7 lines
203 B
SQL

-- { echo }
SELECT toDateTime(-2, 2);
SELECT toDateTime64(-2, 2);
SELECT CAST(-1 AS DateTime64);
SELECT CAST('2020-01-01 00:00:00.3' AS DateTime64);
SELECT toDateTime64(bitShiftLeft(toUInt64(1),33), 2);