clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘
More of Clickhouse
- List all tables from all database
- Using variables in queries
- List all users
- Get total database size
- Convert hex to text
- Inserting data into table example
- List all databases
- Setting timezone for date/time columns
- Create table example
- Create AggregatingMergeTree materialized view
See more codes...