mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
7 lines
325 B
SQL
7 lines
325 B
SQL
-- "Tests" current_timestamp() which is an alias of now().
|
|
-- Since the function is non-deterministic, only check that no bad things happen (don't check the returned value).
|
|
|
|
SELECT count() FROM (SELECT current_timestamp());
|
|
SELECT count() FROM (SELECT CURRENT_TIMESTAMP());
|
|
SELECT count() FROM (SELECT current_TIMESTAMP());
|