ClickHouse/tests/queries/0_stateless/00724_insert_values_datetime_conversion.sql

5 lines
215 B
MySQL
Raw Normal View History

2019-06-03 17:36:27 +00:00
DROP TEMPORARY TABLE IF EXISTS test_00724;
CREATE TEMPORARY TABLE test_00724 (d Date, dt DateTime);
INSERT INTO test_00724 VALUES (toDateTime('2000-01-01 01:02:03'), toDate('2000-01-01'));
SELECT * FROM test_00724;