ClickHouse/tests/queries/0_stateless/02813_func_now_and_alias.sql
2024-04-24 18:34:59 +00:00

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());