Mysql has current_time. What is the equivalent for oracle db?
select current_time
current_time
--------------------
15:30:16
Mysql has current_time. What is the equivalent for oracle db?
select current_time
current_time
--------------------
15:30:16
You can use SYSDATE
:
SELECT TO_CHAR(SYSDATE, 'HH24:MI:SS') "current_time"
FROM DUAL;