Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Date function that leaves only the time?
Turkbear wrote:
> Mark.Wright_at_bristol.ac.uk wrote:
>
>
>>I'm looking for a function that is essectially the opposite of >>TRUNC(). I.e., I have full date-time fields, but I only care about the >>time. If I select TRUNC(column) I can get only records on a date, but I >>want only records in a time-range (e.g. 5pm-6pm), regardless of date. How >>can I do this easily? >>Cheers, >>Mark
This brings up an interesting question. If I perform the following query:
SQL> select argument_name, data_type
2 from all_arguments
3 where object_name = 'TO_TIME';
ARGUMENT_NAME DATA_TYPE ------------------------------ ------------------- TIME RIGHT VARCHAR2 TIME LEFT VARCHAR2 FORMAT VARCHAR2 PARMS VARCHAR2 TIME LEFT VARCHAR2 FORMAT VARCHAR2 TIME RIGHT TIME WITH TIME ZONE
I get something that seems to be undocumented at tahiti.oracle.com.
Does anyone have an example of using this?
Thanks.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Mon Dec 08 2003 - 14:06:20 CST
![]() |
![]() |