DECLARE @intFlag INT
DECLARE @endFlag INT
SET @intFlag = 1
SET @endFlag = 10
WHILE (@intFlag < = @endFlag)
BEGIN
PRINT @intFlag
SET @intFlag = @intFlag + 1
END
GO
DECLARE @endFlag INT
SET @intFlag = 1
SET @endFlag = 10
WHILE (@intFlag < = @endFlag)
BEGIN
PRINT @intFlag
SET @intFlag = @intFlag + 1
END
GO
No comments:
Post a Comment