Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all articles
Browse latest Browse all 38309

Conditional SQL in Report Query

$
0
0
How can I code a conditional SQL in the Report query builder to include a WHERE clause parameter or not, depending on the value of a report parameter? Basically, what I want to do is:

select field from table where x=1
<cfif param.a eq 1>and a=1</cfif>

Report builder does not like this, but I can't find any help on how to do this.

Viewing all articles
Browse latest Browse all 38309

Trending Articles



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