The below doesn't work, since the @Date variable is inside the nested query. How can I get this to work? select employee_id, name from dbo.DisplayName as dn where not exists (select userid from ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results