Summary
Lexical References to SQL Queries throws exception
Content
Hello All,
We are in the process of migrating our custom reports from embedded BI Publisher in OTM to external BI Publisher 11g. While doing that we are running into issues with reports that uses lexical references in our SQL queries and it throws below error when trying to view the output in Datamodel,
"oracle.xdo.XDOException: java.sql.SQLSyntaxErrorException: ORA-00920: invalid relational operator"
Here is how we reference the lexical parameter in our SQL query WHERE condition,
&P_COND_SOURCE_LOCATION_PARAM
AND &P_COND_SERVICE_PROVIDER_PARAM
These two are the same variables that is being used in the PL/SQL package.
Can anyone help us understand what could be the issue here.
Thanks,