Jeff,

Think the question was not about including OR-s in the SQL but executing SQL
only if OR-ed expression is true. Anyway, the right place of OR-s seems to
be in java, but it seems to me one can achieve the same adding the following
to the desired SQL (using appropriate syntax for specific database):

WHERE not (#x# isNull and #y# isNull and #z# isNull)

Reply via email to