how to truncate date and get only time part 9:20:00

Answer Posted / sandeep

select to_char(sysdate,'HH24:MM:SS') from dual;

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

2056


what are the advantages of running a database in archive log mode?

1811


What is the disadvantage of User defind function?

1914


In the oracle version 9.3.0.5.0, what does each number shows?

907


How would you change old and new values in an insert, delete and update triggers?

632






How many anonymous blocks can be defined?

687


What are the numeric comparison operations?

739


What is the usage of save points in oracle database?

607


What is a static data dictionary in oracle?

649


How many types of synonyms in Oracle?

695


what is reindexing?

1234


How to run the anonymous block again?

691


How to convert dates to characters in oracle?

663


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1805


How can we find out the current date and time in oracle?

720