View difference between Paste ID: iMskAEw6 and 9vrhupYQ
SHOW: | | - or go back to the newest paste.
1
SET SHOWPLAN_TEXT ON;
2
GO
3
4
SELECT JobCandidateID AS 'ID Candidato', BusinessEntityID AS 'ID Entidad' 
5
    FROM HumanResources.JobCandidate 
6-
    WHERE ISNULL(BusinessEntityID, 1) <> 1;
6+
    WHERE BusinessEntityID IS NOT NULL;
7
GO
8
SET SHOWPLAN_TEXT OFF;