With any type of SQL query, after executing the focus will be on its Result window:
SELECT 1 + 1
But if that SQL query assign a value to a variable, the focus will be on the Console Output.
DECLARE @variable INT
SELECT @variable = 1 + 1
This is really annoying, how can I prevent this behavior ?