方法一 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 |
+---------------------+

 

原帖地址:http://blog.csdn.net/aini3456/article/details/6471081