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 Database
Download PDF
CURDATE()
CURDATE() returns the current date without the time part.
obclient> SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2018-05-05 |
+------------+
1 row in set