query not returning enough rows
Posted: Thu 09 Apr 2009 21:11
Hello,
I am using the latest ODAC with Delphi 2009. When I run this query, it returns 100 rows on Oracle 11, as it should. When I run the same query in Oracle 9, it only returns one row.
SQL Plus seems to work the same way, so it seems this is a bug in Oracle 9 - BUT - if I use an old build of our application which used ODAC 5.70 and Delphi 7, it returns the correct number of rows in Oracle 9.
I am using the same Oracle client - 9.2.0.1 in all cases.
SELECT ROWNUM
FROM dual
connect by level < 101
Thanks,
John
I am using the latest ODAC with Delphi 2009. When I run this query, it returns 100 rows on Oracle 11, as it should. When I run the same query in Oracle 9, it only returns one row.
SQL Plus seems to work the same way, so it seems this is a bug in Oracle 9 - BUT - if I use an old build of our application which used ODAC 5.70 and Delphi 7, it returns the correct number of rows in Oracle 9.
I am using the same Oracle client - 9.2.0.1 in all cases.
SELECT ROWNUM
FROM dual
connect by level < 101
Thanks,
John