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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 9i: comparison of DATEs

Re: Oracle 9i: comparison of DATEs

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Thu, 21 Aug 2003 16:38:25 +0100
Message-ID: <3f44e772$0$18491$ed9e5944@reading.news.pipex.net>


I have no idea

can you post the output from a sqlplus session running these statements?

-- 
Niall Litchfield
Oracle DBA
Audit Commission UK
"Tijana" <t1jana_at_yahoo.com> wrote in message
news:cbbaf6ba.0308210432.6712e9af_at_posting.google.com...

> Why is it that a query which looks like this:
>
> select * from akcizastopa
> where sifra = '777' and datumod = to_date('20.06.2003', 'DD.MM.YYYY')
>
> returns one row, while
>
> update akcizastopa
> set iznos = 5
> where sifra = '777' and datumod = to_date('20.06.2003', 'DD.MM.YYYY')
>
> doesn't update any rows?
>
> Please note that the where clause is identical.
> The contents of the table were also identical at the times I ran the
queries.
>
> Thanks
Received on Thu Aug 21 2003 - 10:38:25 CDT

Original text of this message

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