Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert Timestamp to Time

ReemaPuriApr 16 2015 — edited Apr 19 2015

create table test5

(

date1 timestamp(6)

)

insert into test5 values('22-APR-15 04.00.00.000000 PM');

insert into test5 values('22-APR-15 03.00.00.000000 AM');

insert into test5 values('22-APR-15 06.30.00.000000 PM');

insert into test5 values('22-APR-15 04.45.00.000000 AM');

can anybody help me i need the output

as:      16:00

        03:00

        18.30

        04:45  

This post has been answered by aJohny on Apr 16 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2015
Added on Apr 16 2015
5 comments
600 views