SQL - Stored Procedures and Functions
What will be the output of the following SQL procedure snippet?
DECLARE @num INT = 2;
WHILE @num <= 4
BEGIN
PRINT @num;
SET @num = @num + 1;
END
