DECLARE @ INT=1z:PRINT @ SET @+=1IF @<11GOTO z

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

--use master 
--/*50 bytes*/
--SELECT top 10number+1FROM spt_values WHERE'P'=TYPE
--/*46 bytes*/
DECLARE @ INT=1z:PRINT @ SET @+=1IF @<11GOTO z

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results