SQLState [IMSSP]: Das aktive Ergebnis für die Abfrage enthält keine Felder.

with (SELECT afield INTO #temptable FROM atable 
WHERE anotherfield = 'somevalue') AS temptable;

SELECT afield,anotherfield,onemorefield FROM atable 
where afield NOT IN (SELECT * FROM temptable);
Frightened Ferret