P
Peter Bassett
I have a request to find all columns in myTable in which any row members
are different. Any easy example is ("A", "A", "B") which can be found by
something like
iif(max(ColX) <> min(ColX), 1, 0)
but I didn't realize this approach fails if a row is empty, i.e. ("A", "A",
"")
This is because, for some reason defined by SQL, max="A" and min="A".
I therefore need another approach.
Thanks in advance for any help in a query.
Pete
are different. Any easy example is ("A", "A", "B") which can be found by
something like
iif(max(ColX) <> min(ColX), 1, 0)
but I didn't realize this approach fails if a row is empty, i.e. ("A", "A",
"")
This is because, for some reason defined by SQL, max="A" and min="A".
I therefore need another approach.
Thanks in advance for any help in a query.
Pete