ClickHouse/tests/queries/0_stateless/01692_DateTime64_from_DateTime.sql
2022-03-12 00:45:26 +01:00

8 lines
390 B
SQL

select toDateTime64(toDateTime(1, 'Asia/Istanbul'), 2);
select toDateTime64(toDate(1), 2) FORMAT Null; -- Unknown timezone
select toDateTime64(toDateTime(1), 2) FORMAT Null; -- Unknown timezone
select toDateTime64(toDateTime(1), 2, 'Asia/Istanbul');
select toDateTime64(toDate(1), 2, 'Asia/Istanbul');
select toDateTime64(toDateTime(1), 2, 'GMT');
select toDateTime64(toDate(1), 2, 'GMT');