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