1. ORACLE SELECT SYSDATE FROM DUAL
2. DB2 SELECT CURRENT TIMESTAMP FROM SYSIBM.SYSDUMMY1
3. INFORMIX SELECT TODAY FROM TABLE
4. SQLSERVER SELECT GETDATE() FROM TABLE
5. MYSQL mysql> select now();
mysql> select sysdate();
mysql> select curdate();
mysql> select current_date;
mysql> select curtime();
mysql> select current_time;
6. Max DB sysdate
7. sybase getdate()
8. openbase sysdate
10. FOXPRO select DATE() from TABLE
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/