Oh that 1=1 is neat.
TRUE should work too.
the lowliest monk
In reply to Re^3: Looking for neater solution with dynamic query by tlm in thread Looking for neater solution with dynamic query by pg