clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘
More of Clickhouse
- Convert array to rows
- Select where date column is between dates
- How to restart Clickhouse server
- Using variables in queries
- How to execute SQL query from a file
- Get total database size
- Convert array to string
- Select sumIf query example
- List table partitions
- Show running queries
See more codes...