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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: [Q] ORACLE date select problem?

RE: [Q] ORACLE date select problem?

From: Shaw, Glen <Glen.Shaw_at_BellSouth.com>
Date: Fri, 13 Oct 2000 10:59:56 -0400
Message-Id: <10648.119187@fatcity.com>


I believe the split is at year 50. I do not think you can alter the logic and change the split.

-----Original Message-----
From: Oracle DBA [mailto:orcldba_at_hotmail.com] Sent: Friday, October 13, 2000 10:55 AM
To: Shaw, Glen; 'L'; oracle-l_at_fatcity.com; oracledba_at_quickdoc.co.uk Subject: Re: [Q] ORACLE date select problem?

What is Base year for RR Base Year Logic? Can we change this Base year?

> Check you NLS_DATE_FORMAT and make sure you have it set to DD-MON-RR
(Based
> on your format) and not DD-MON-YY. The RR causes it to respect the Y2K
> issues. If you can't bounce the database to reset the parameter, I
suggest
> you alter your select to include 4 digit years.
>
> -----Original Message-----
> From: L [mailto:leed_at_chele.cais.net]
> Sent: Friday, October 13, 2000 10:29 AM
> To: oracle-l_at_fatcity.com; oracledba_at_quickdoc.co.uk
> Subject: [Q] ORACLE date select problem?
>
>
>
> On ORACLE 7.3.4 database, I tried to select date less than "31-DEC-96".
> the following statement does NOT work correctly:
>
> select account_id, datestamp from table1
> where to_char(datestamp,'DD-MON-YY') < '31-DEC-96';
>
>
> It still print date like '21_JAN-98'.
>
> Anyone can give me a hint?
>
>
> Thanks
>
>
> --------
> Think you know someone who can answer the above question? Forward it to
> them!
> to unsubscribe, send a blank email to oracledba-unsubscribe_at_LAZYDBA.com
> to subscribe send a blank email to oracledba-subscribe_at_LAZYDBA.com
>
>
> --------
> Think you know someone who can answer the above question? Forward it to
them!
> to unsubscribe, send a blank email to oracledba-unsubscribe_at_LAZYDBA.com
> to subscribe send a blank email to oracledba-subscribe_at_LAZYDBA.com
Received on Fri Oct 13 2000 - 09:59:56 CDT

Original text of this message

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