edit:
i got stuck with a query that mess up my head
I have a column in a table that contains 0, 1 and NULL. Datatype is BIT.
Furthermore i got a variable with value either 0 and 1 from a webform.
What i need to do is to compare those values and make a WHERE statement like this:
if variable =0 show rows with 0 and 1
if variable =1 show rows with only 0
thx in advance //Mr