I am getting the following error while parsing the SQL query (in SQL Viewer in property tab) for dimension object. But when parsing in Definition tab, it is saying “Parsing OK”.
The error is…
" Exception: DBD, [NCR][ODBC Teradata Driver][Teradata Database] Invalid SET statement in the triggered action. State: HY000 "
The universe connection is working fine and i can view the table values also.
Am using BOBJ XI3 designer and Teradata database. Please help me to avoid this error.
You are asking me to put in Definition tab, yes i did it already.
I am facing the error while parsing the query in query panel where we edit the query(through properties tab and click Edit option near to Associate List of values part).
The sql query will be there below the line
SET QUERY_TYPE = ‘USER = ‘@Variable(‘BOUSER’)’; DOCNAME = ‘@Variable(‘DNAME’)’; DPNAME = ‘@Variable(‘DPNAME’)’; DPTYPE = ‘@Variable(‘DPTYPE’)’; UNIVERSE = ‘@Variable(‘UNVNAME’)’; UNIVERSEID = ‘@Variable(‘UNVID’)’;’ FOR TRANSACTION;
Recently we enabled query banding in our universe parameters and since then the LOV in the object properties returns an error.
Exception: DBD, [Teradata][ODBC Teradata Driver][Teradata Database] Invalid SET statement in the triggered action. State: HY000
Anyway to workaround this? The DBA’s are requesting that we use the query band feature to track poor performing queries.
So in the BEGIN_SQL we have it set to the following =
SET QUERY_BAND=‘UserID=’@Variable(‘DBUSER’)’; Universe=’@Variable(‘UNVNAME’)’;Document=’@Variable(‘DOCNAME’)’;WFAppID=XXX;’ for transaction;
I can understand why this would return an error but SAP/BO documentation recommends this. So wondering anyone else running into this and if they found a workaround.
Even i faced the same issue after setting the query banding.
So removed the query banding, when ever i want see the LOV in unv level with out saving the unv.