Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Date datatype
Hi
> 1.. In SQLPlus, how can I display the full value
> of a date column? I mean date and time and not
> only the date.
One possibility is to set the parameter NLS_DATE_FORMAT at session level = to something like "DD.MM.YYYY HH24:MI:SS".
> 2.. I'm trying the EXTRACT function. Year, month and
> day worked fine but not the hour, minute and
> second. How can I do it?
It should work. What does it mean "... but not..."?=20 If you copy/paste an example it's easier to help you...
> 3.. I tried to add a numeric value from another
> field to a date column and it worked for the
> date. Is it possible to do the same thing with the time?
Yes. E.g. add 1/24 to add one hour... i.e. you should do some math...
HTH
Chris
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Apr 05 2005 - 01:43:33 CDT