Home » SQL & PL/SQL » SQL & PL/SQL » How to insert only the time value in the date column
|
|
|
|
|
|
Re: How to insert only the time value in the date column [message #185228 is a reply to message #185191] |
Mon, 31 July 2006 11:32  |
 |
Littlefoot
Messages: 21824 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
rajavu1 wrote on Mon, 31 July 2006 15:01 | Or You can Try for another Varhar2 field exclusively for Exclusive time storage.
|
I wouldn't do that; there's really no need for it. This column is practically unusable (you can't compare it to anything, do arithmetic ... nothing, without unnecessary pain). If there's a DATE column and additional VARCHAR2 one just for time portion, that would be really crazy; there was discussion about how many storage NULL column takes (a lot! One wouldn't believe!), so what would you do with something you can easily extract from the DATE column?
No matter what, I really wouldn't want to have a VARCHAR2 column for DATE values.
Until someone shows me that this, actually, can bring some benefit.
|
|
|
Goto Forum:
Current Time: Wed May 21 22:18:11 CDT 2025
|