登陸
所有獲取時間的方法
mysql -uroot -proot(mysql)
select now();
psql -Upostgres -Ssso(postgresql)
select now();
osql -S127.0.0.1 -Usa -p123456(sqlserver)
select getdate();
在第二行輸入go來執行語句
sqlplus system/123456(oracle)
select sysdate from dual;
sqlite3//進入數據庫,不需要用戶名和密碼
select datetime();
.q //退出
.database//查看當前數據庫