Extract time part from TimeStamp column in ORACLE

Posted by RRUZ on Stack Overflow See other posts from Stack Overflow or by RRUZ
Published on 2010-06-01T17:20:16Z Indexed on 2010/06/01 17:23 UTC
Read the original article Hit count: 191

Filed under:
|

Actually i' am using MyTimeStampField-TRUNC(MyTimeStampField) to extract the time part from an timestamp column in Oracle.

SELECT CURRENT_TIMESTAMP-TRUNC(CURRENT_TIMESTAMP) FROM DUAL

this return

+00 13:12:07.100729

this work ok for me, to extract the time part from an timestamp field, but i' m wondering if exist a better way (may be using an built-in function of ORACLE) to do this?

Thanks.

© Stack Overflow or respective owner

Related posts about sql

Related posts about Oracle