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