DECLARE @Count INT SET @Count = 4 WHILE @Count >=1 BEGIN

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

DECLARE @Count INT 
SET @Count = 6 
WHILE (@Count >=0)  
BEGIN
PRINT @Count
SET @Count=@Count-1
IF(@Count = 4)
BEGIN
SET @Count = @Count-3
  PRINT @Count
  CONTINUE
 END
 END

Enter Parameters

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