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