RE: how to return one result set from multiple queries (ie. no results from query1, go to query2)
You can write like SELECT ResultID, Link, Description FROM results WHERE Isnull(Op1,@op1) = @Op1 AND Isnull(Op2,@op2) = @Op2 AND Isnull(Op3,@op3) = @Op3 AND Isnull(Op4,@op4) = @Op4 AND Isnull(Op5,@op5) = @Op5 did i understand your problem correctly?
2005-05-19