Syntax
CURRENT_TIMESTAMP([scale])
Purpose
CURRENT_TIMESTAMP() returns the datetime of the current time zone.
scale specifies the precision of microseconds. The valid value is any integer ranging from 0 to 6. Default value: 0.
Examples
obclient> SELECT CURRENT_TIMESTAMP(6);
+-----+
| CURRENT_TIMESTAMP(6) |
+-----+
| 2018-05-05 11:35:39.177764 |
+-----+
1 row in set