I have a report with 10 input parameters wherein only two are obligatory, the rest are optional. The problem is, as far as I know, if you use an input parameter that is blank in a WHERE condition of a SELECT statement no records will be selected from a table, so how to fix that ?
lets try something simple:
SELECT * FROM contrat WHERE article = 'sumsung' AND price = null
the user entered an article and did not enter a price so the query will return nothing because price is null even when we have a contract with a sumsung article