OBIEE 11g: A Direct Database Request Usage With ALL COLUMN VALUES Option Selected Errors With nQSError 10058, 43113, 43093, 17001 And ORA-00936 (Doc ID 1682503.1)

Last updated on FEBRUARY 18, 2016

Applies to:

Business Intelligence Server Enterprise Edition - Version 11.1.1.7.1 and later
Information in this document applies to any platform.

Symptoms

When a direct dashboard request is created for a report and the ALL COLUMN VALUES option is selected in the prompt, the report does not render and errors out.
While individually selecting all values works fine.

 

You are using OBIEE Dashboard prompt functionality in a physical SQL created using the New->Analysis->"Create Direct Database Request" feature and the sample SQL you are using looks like this:




select YEAR, PERIOD from olap.w_xxxx_period_d
where YEAR =(@{PYEAR}{2012}) or ( -1 =nvl(@{PYEAR}{2012},-1))

 

Note: basic variable expression syntax is  @{myVar}[]{default}.  all other parentheses are either by sql or for clarity. 

However, when choosing "All Choices" in the prompt it errors with:



Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('EXECUTE PHYSICAL CONNECTION POOL "Oracle Data Warehouse Connection Pool" select YEAR, PERIOD from olap.w_xxxx_period_d where YEAR =(@{PYEAR}{2012}) or ( -1 =nvl(@{PYEAR}{2012},-1))



This may also occur when the Dashboard Prompt is directly leveraged in BI Published Data Set Physical SQL as filter passed via Presentation Variable.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms