ClickHouse/tests/queries/0_stateless/02242_negative_datetime64.sql

4 lines
221 B
SQL

SELECT cast(toDateTime64('1965-12-12 12:12:12.123', 3, 'UTC') as Decimal64(3));
SELECT cast(toDateTime64('1975-12-12 12:12:12.123', 3, 'UTC') as Decimal64(3));
SELECT toDateTime64('1969-12-31 23:59:59.123', 3, 'UTC');