MySQL 時間方面的操做

一、獲取時間 SELECT now(),sleep(1),sysdate(),now(),current_timestamp(),current_timestamp ; 獲得的結果以下圖:sql 由此能夠獲得:now()、current_timestamp(),current_timestamp 這三者能夠獲取執行SQL語句的即時時間函數 而:sysdate() 函數,是獲取的是讀取這個函數的即時
相關文章
相關標籤/搜索