clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘More of Clickhouse
- Get year and month from date
- Using anyLast() with grouped data
- Get total database size
- List all tables from all database
- Inserting JSONEachRow format data into table
- Disable logs
- Remove column from a table
- Select where date column is between dates
- Convert array to string
- Create AggregatingMergeTree materialized view
See more codes...