Database Administration (MOSC)

MOSC Banner

Is there any way to save time only in database

edited Jan 27, 2012 2:17AM in Database Administration (MOSC) 4 comments
Is there any way to save time only in Oracle 9i Database  . I have one field "first_in" with datatype  Date  . While Uploading text file , it is uploading date as well along with time .

I need to save time only  . For Example

currently It is showing like this If I run following :

select to_char(first_in,'DD_MON-YYYY HH24:MI:SS') from attendance ;

 Showing Output     -     01-jan-2012 08:28:00

Although In text file there is no date . Only time is there  and I want to save time only .

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center