I have an interesting item here.
I am trying to pull records from a table by comparing two fields (a.Field1 <> a.Field2) It works fine when both fields have actual data. However, there are several records where Field2 is NULL.
Is there a more efficent way of coding the WHERE clause without using an OR statment?
I.e.
From tbl a, tbl b
WHERE a.recn = b.recn AND
a.Field1 <> a.Field2
Thx
I am trying to pull records from a table by comparing two fields (a.Field1 <> a.Field2) It works fine when both fields have actual data. However, there are several records where Field2 is NULL.
Is there a more efficent way of coding the WHERE clause without using an OR statment?
I.e.
From tbl a, tbl b
WHERE a.recn = b.recn AND
a.Field1 <> a.Field2
Thx