sql to show current date and time
Courtesy of Martin Widlake
— SHOWTIME
— shows date and time, primarily to tell how much longer that days
— sentence of misery in the pit of dispair is to last. Bitter? You Bet.
col dt head ‘ Date      Time ‘
set pause off
set feed off
SELECT SUBSTR(TO_CHAR(SYSDATEÂ ,’DD-MON-YYYY HH24:MI:SS’), 1, 20) dt–“_DATE__________TIME_” FROM DUAL
/
clear colu
set pause on
set feed 6
Discussion ¬