Is there a way to build a dynamic where clause (add on to the where statement) in the SQL part of the XML packages?
So I could have something like:
<query name="Products" rowElementName="Product">
<sql>
<![CDATA[
Select * from Products where Sku like '01%'
]]>
BUT BY ABLE TO ADD and Name like to it like below-->
<query name="Products" rowElementName="Product">
<sql>
<![CDATA[
Select * from Products where Sku like '01%' and Name like 'Math%'
]]>
I'm trying to let the user select from three different dropdownlist to select a filter on their product searches and, based off their selections, I want to be able to query the product table in an XMLpackage with the different options (dynamic where) the user supplied.
Thanks for any ideas.