CURTIME,CURRENT_TIME
描述
获得当前的时间,以 TIME 类型返回
别名
- CURTIME
- CURRENT_TIME
语法
CURTIME()
返回值
返回当前的时间
举例
mysql> select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47 |
+----------------+
获得当前的时间,以 TIME 类型返回
CURTIME()
返回当前的时间
mysql> select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47 |
+----------------+