Syntax
CURDATE()
Purpose
CURDATE() returns the current date without the time part.
Examples
obclient> SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2018-05-05 |
+------------+
1 row in set
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era Join the Event ->
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI. Explore ->
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era Join the Event ->
OceanBase Database
Download PDF
CURDATE()
CURDATE() returns the current date without the time part.
obclient> SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2018-05-05 |
+------------+
1 row in set