SyntaxFix
Write A Post
Hire A Developer
Questions
simple and easier solution:
select extract(hour from systimestamp) from dual; EXTRACT(HOURFROMSYSTIMESTAMP) ----------------------------- 16