I'm making a bit of a stretch here, but I
think that what you want is:
Code:
SELECT DISTINCT SIGID
FROM SIGNATURES AS A WITH(NOLOCK)
WHERE NOT EXISTS (SELECT *
FROM signatures AS b WITH (NOLOCK)
WHERE 'central' <> b.user_location
AND 'T' = b.isactive
AND 2007 = b.event_year
AND a.SIGID in (b.FATHER_SIG, b.MOTHER_SIG
, b.NOTARY_1_SIG, b.NOTARY_2_SIG
, b.FATHER_WIT_1_SIG, b.FATHER_WIT_2_SIG
, b.MOTHER_WIT_1_SIG, b.MOTHER_WIT_2_SIG))
Note that this smells very strongly of a table design that is not in
first normal form, which usually makes queries like this a lot harder than they need to be!
-PatP