Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Problem with rownum
The following query shows a right result:
"Select Nummer From Artikel where Nummer > 60000 and Rownum < 2 Order by Nummer"
The result is the correct number 60001.
With the statement
"Select * From Artikel where Nummer > 60000 and Rownum < 2 Order by Nummer"
I get a wrong result: Number 68048.
Has anyone an explanation for this behavior?
We are using Oracle 9. The table "Artikel" is indexed with a constraint for the field "Nummer". Received on Tue Jan 11 2005 - 08:50:44 CST
![]() |
![]() |