I understand that SQL EXISTS checks for the existence of rows, however does it evaluate the entire expression? So for example, would something like this:
IF EXISTS (SELECT TOP 1 1 FROM table WITH (NOLOCK)) BEGIN ... END Be faster than something like this:
IF EXISTS (SELECT 1 FROM table WITH (NOLOCK)) BEGIN ... END