sys_context does not show records when used as part of sql
Oracle DB 19.15
Using sys_context as part of the SQL statement (owner = sys_context('USERENV','CURRENT_SCHEMA')) returns as results zero records.
As a workaround, replacing this for the specific value or using a variable previously initialized with the sys_context works as expected.
Any idea why this behavior?