Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Dates

Dates

From: Oracle <oracle_list_at_hotmail.com>
Date: Fri, 25 Jun 2004 16:35:49 +0100
Message-ID: <BAY15-DAV6hXNkzZSlk00007192@hotmail.com>


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_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Jun 25 2004 - 10:34:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US