mysql>SELECT NOW(),SYSDATE(),CURDATE(),CURTIME(); +---------------------+---------------------+------------+-----------+ | now() | sysdate() | curdate() | curtime() | +---------------------+---------------------+------------+-----------+ | 2019-06-12 15:54:43 | 2019-06-12 15:54:43 | 2019-06-12 | 15:54:43 | +---------------------+---------------------+------------+-----------+
now():語句開始執行時間;mysql
sysdate():實時的系統時間sql