106
技術社區[雲棲]
Mysql中查詢係統時間
方法一 select current_date
mysql> select current_date as Systemtime;
+------------+
| Systemtime |
+------------+
| 2009-07-29 |
+------------+
方法二 select now()
mysql> select now() as Systemtime;
+---------------------+
| Systemtime |
+---------------------+
| 2009-07-29 19:06:07 |
+---------------------+
方法三 select sysdate()
mysql> select sysdate() as Systemtime;
+---------------------+
| Systemtime |
+---------------------+
| 2009-07-29 19:06:45 |
+---------------------+
原帖地址:https://blog.csdn.net/aini3456/article/details/6471081
最後更新:2017-04-02 15:15:35
上一篇:
eclipse部署web項目至本地的tomcat但在webapps中找不到
下一篇:
Sql Server中如何取得剛剛插入的自增長的id值
10 個平板電腦上的 Python 編輯器
C# WinForm多線程開發(二) ThreadPool 與 Timer
【端午小練】HDU2191-珍惜現在,感恩生活
C語言編程 可以不會英語 但必須要懂以下英語單詞
法律大數據研究與應用六大展望
You must call removeView() on the child's parent first
移動新聞網站,掌上移動新聞,移動新聞客戶端,jQuery Mobile移動新聞網站,移動新聞網站demo,新聞閱讀器開發
ibatis動態語句中的prepend
Oracle中的number類型
阿裏雲MaxCompute香港開服 引入更多人工智能