Syntax
CURDATE()
Purpose
Returns the current date without the time component.
Examples
obclient> SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2018-05-05 |
+------------+
1 row in set
OceanBase Database
Download PDF
CURDATE()
Returns the current date without the time component.
obclient> SELECT CURDATE();
+------------+
| CURDATE() |
+------------+
| 2018-05-05 |
+------------+
1 row in set