Sorry about that ... I am working on a sev-1 problem with Oracle (ora-904 error if anyone is interested).
Doesn't work means it doesn't return any data .... the working query returns correct number of rows. the trunc() syntax is right ... est_dt column stored date with hh:mi:ss set to 00:00:00. It has a companion column called est_tm that stores time as number of seconds since midnight.
Raj
______________________________________________________
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
From: Jared Still [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 29, 2002 10:24 AM
To: [EMAIL PROTECTED]; Jamadagni, Rajendra
Subject: Re: Implicit Date conversion problem
What does "doesn't work" mean?
Wrong data?
Error message?
etc...??
Also the trunc(to_date('01-Jan-03','DD-Mon-YY')) is not quite right
most likely.
It should probably be:
trunc(to_date('01-Jan-03','DD-Mon-YY'))
to_date('01-Jan-03 23:59:59','DD-Mon-YY' HH24:MI:SS')
or if used with a variable:
trunc(mydate+1) - (1/86400)
Jared
*********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************1
