문제

I am using below query in SSRS 2008 and I am getting an error when I click the 'Next' button on the Design Query window in Report Wizard.

"An error occurred while the query design method was being saved. ORA-00911: invalid character"

  SELECT E.EMPID, E.NAME
    FROM EMP E
   WHERE E.EMPID IN (SELECT COLUMN_VALUE FROM TABLE(CAST(SPLIT(:I_IDS) AS TEMP_TBL)));

What am I doing wrong?

도움이 되었습니까?

해결책

Have you tried simplifying your WHERE clause to use the condition:

WHERE E.EMPID IN (:I_IDS);

- in your query? (This won't work for multiple values in a normal SQL client, but does in SSRS datasets, in my experience.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top