Quantcast
Viewing latest article 2
Browse Latest Browse All 20

Re: dynamic Filter ( Using multiple drop down list)

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 latest article 2
Browse Latest Browse All 20

Trending Articles



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