Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

SSRS Reporting: Parametrised to Oracle query -- ORA-01008: not all variables bound

$
0
0

Hi,

When I am executing this query below, I am getting an error: ORA-01008: not all variables bound.

select ipa,
       sum(shadow_claims) as claim,
       sum(shadow_diag) as shdw_diag,
       sum(matching_claims) as mtc_clm,
       sum(match_diag) as mtc_diag
  from ixn3180.ipa_overview a
 where (a.region in (:PRMREGION) or 'ALL' in (:PRMREGION))
and (substr(a.serv_dt,1,4) in (:PRMYEAR) or 'ALL' in (:PRMYEAR))
group by ipa

The is executing fine with single filter in the WHERE clause but getting error when I use both at the same time.

The datasource is fine as it is executing with single filter.

Parameters are declaired correctly.

I have tried all possible scenarios but having no clue to fix the issue. Can anyone help out on this?



Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>