📅  最后修改于: 2022-03-11 15:05:25.180000             🧑  作者: Mango
-- Oracle
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MM-YYYY HH24:MI:SS';
SELECT sysdate FROM dual;
SELECT to_char(sysdate,'HH24:MI:SS') FROM dual;