DECLARE @intFlag INT SET @intFlag = 1 WHILE (@intFlag <=5...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @intFlag INT
SET @intFlag = 1
WHILE (@intFlag <=5)
BEGIN
PRINT @intFlag
SET @intFlag = @intFlag + 1
IF @intFlag = 4
BREAK;
END
GO

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results