sql change date format

Solutions on MaxInterview for sql change date format by the best coders in the world

showing results for - "sql change date format"
Badis
17 Sep 2020
1-- Oracle
2ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MM-YYYY HH24:MI:SS';
3SELECT sysdate FROM dual;
4
5SELECT to_char(sysdate,'HH24:MI:SS') FROM dual;