Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

There must be a special setting for "ORA-01799: a column may not be outer-joined to a subquery"

Kyle SiresMay 6 2025 — edited May 7 2025

Hi,

I work at a university, and we have four environments (DEVL/TEST/PPRD/PROD). I develop in DEVL, and my packages work fine there. But when I promote to TEST, I get ‘ORA-01799: a column may not be outer-joined to a subquery’. If I promote the same packages to PPRD/PROD, they work fine. I know how to fix the issue in TEST by restructuring my query. If I change my left joins to inner joins, it works fine. But I'd really like to find out what setting/configuration makes our TEST environment “stricter” so that I can have DEVL set the same way. If I can get DEVL set the same way as TEST, it will save me from having to go back to DEVL and fix my packages to work in TEST even though they work fine in DEVL. Not getting the same errors in DEVL versus TEST is a waste of development time.

Thanks,

Kyle

Comments
Post Details
Added on May 6 2025
13 comments
159 views