Syntax
CURRENT_TIMESTAMP([scale])
Purpose
Returns the current date and time in the current time zone.
scale specifies the precision of the microseconds part, which is an integer ranging from 0 to 6. The default value is 0.
Examples
obclient> SELECT CURRENT_TIMESTAMP(6);
+----------------------------+
| CURRENT_TIMESTAMP(6) |
+----------------------------+
| 2018-05-05 11:35:39.177764 |
+----------------------------+
1 row in set
