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