clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘
More of Clickhouse
- Create AggregatingMergeTree materialized view
- Inserting JSONEachRow format data into table
- Select sumIf query example
- Get total database size
- List all tables from all database
- Get table size
- Show running queries
- Using variables in queries
- Create new user
- Using dates with timezones
See more codes...