I have this issue (maybe not an error).
On an Oracle View, the columns in SELECT change the number of rows obtained from DB.
It's an error with the definition of the VIEW?
I think this incident only could be possible with VIEWS but never in TABLES, or not?
--16 ROWS
SELECT *
FROM MY_ORACLE_VIEW
WHERE CONDITION_1 = 'A' AND CONDITION_2 = 'B';
--112 ROWS
SELECT COLUMN_X, COLUMN_Y
FROM MY_ORACLE_VIEW
WHERE CONDITION_1 = 'A' AND CONDITION_2 = 'B';
Note: The real view are very complex
Oracle Version from (SELECT * FROM V$VERSION):
- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
- PL/SQL Release 11.2.0.4.0 - Production
- CORE 11.2.0.4.0 Production
- TNS for HPUX: Version 11.2.0.4.0 - Production
- NLSRTL Version 11.2.0.4.0 - Production