GilaMonster (7/22/2009)
This might help you with the problem that they can pass the parameters or not.
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
Could you maybe post the entire procedure, the table defintions, some sample data and the...