Quantcast
Channel: dynamic Filter ( Using multiple drop down list)
Viewing all articles
Browse latest Browse all 20

Re: dynamic Filter ( Using multiple drop down list)

$
0
0

So if I understand you correctly, you basically want a dynamic where clause in your stored procedure. Something like

where campaign ='mycampaign' and (segment='seg1' or segment='seg1=2' or ...... or segment='segN')

If so, have you considered to use something like

where campaign ='mycampaign' and segment in ('seg1', 'seg2')

or if it's getting more complex to use a dynamic stored procedure that builds the where clause based on the content of the parameters.


Viewing all articles
Browse latest Browse all 20

Trending Articles



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