btw, the time on the dates is ncsn nc_date_cls ----------------------- 3298 25-JUN-04 10:36:17 3299 25-JUN-04 10:38:06 ----- Original Message ----- From: "Oracle" <oracle_list@xxxxxxxxxxx> To: <oracle-l@xxxxxxxxxxxxx> Sent: Friday, June 25, 2004 4:35 PM Subject: Dates > Hi > > Can any please explain the reason for the differing results in the folowing > queries > > 1) > SELECT NCSN, NC_DATE_CLS FROM NONCONFORM WHERE NC_DATE_CLS LIKE '25-JUN-04' > > > NCSN NC_DATE_CLS > --------- --------- > 3298 25-JUN-04 > 3299 25-JUN-04 > > 2) > SELECT NCSN, NC_DATE_CLS FROM NONCONFORM WHERE NC_DATE_CLS = '25-JUN-04' > > no rows selected > > > 3) > SELECT NCSN, NC_DATE_CLS FROM NONCONFORM WHERE NC_DATE_CLS between > '25-JUN-04' AND '25-JUN-04'; > > no rows selected > > 4) > SELECT NCSN, NC_DATE_CLS FROM NONCONFORM WHERE NC_DATE_CLS between > '24-JUN-04' AND '26-JUN-04' > > NCSN NC_DATE_CLS > --------- --------- > 3298 25-JUN-04 > 3299 25-JUN-04 > > > Table nonconform....columns....NCSN NUMBER, NC_DATE_CLS DATE...... > Oracle 8.1.7 > > Thanks > ---------------------------------------------------------------- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > ---------------------------------------------------------------- > To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx > put 'unsubscribe' in the subject line. > -- > Archives are at //www.freelists.org/archives/oracle-l/ > FAQ is at //www.freelists.org/help/fom-serve/cache/1.html > ----------------------------------------------------------------- > ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------