Syntax
SYSDATE(fsp)
Purpose
Returns the current date and time in the format of %Y-%m-%d %H.%i.%s.
fsp specifies the number of digits in the fractional seconds part of the return value. Valid values are integers from 0 to 6. The default value is 0.
Examples
obclient> SELECT SYSDATE();
+---------------------+
| SYSDATE() |
+---------------------+
| 2021-07-15 14:10:06 |
+---------------------+
1 row in set
