Need some Oracle expert to explain :)
Posted: 26.10.2021, 12:00
Hello,
I've been contacted by one of my colleagues that the database manager I built with Zeos do not show the same result as PL/SQL.
The query is a simple SELECT, but against a view, not a table. Database and schema is the same.
With PL/SQL, SELECT * FROM myview returns some 25k-ish records, my database manager returns 1.
As an interesting fact, if I execute SELECT COUNT(1) FROM myview, my database manager returns the same, 25k-ish result.
I also realized is there is a warning logged by Zeos when doing the select:
[2021.10.26 12:52:07] database: Fetch FETCH ROW ORA-24347: Warning of a NULL column in an aggregate function (#24347)
https://support.oracle.com/knowledge/Or ... 361_1.html
Will this be something with Zeos not querying the results (or handling the above warning) properly, or some deep access right magic of Oracle...?
I've been contacted by one of my colleagues that the database manager I built with Zeos do not show the same result as PL/SQL.
The query is a simple SELECT, but against a view, not a table. Database and schema is the same.
With PL/SQL, SELECT * FROM myview returns some 25k-ish records, my database manager returns 1.
As an interesting fact, if I execute SELECT COUNT(1) FROM myview, my database manager returns the same, 25k-ish result.
I also realized is there is a warning logged by Zeos when doing the select:
[2021.10.26 12:52:07] database: Fetch FETCH ROW ORA-24347: Warning of a NULL column in an aggregate function (#24347)
https://support.oracle.com/knowledge/Or ... 361_1.html
Will this be something with Zeos not querying the results (or handling the above warning) properly, or some deep access right magic of Oracle...?