declare   @a   int  
set   @a=0  
while   @a<=10  
begin  
print   @a  
set   @a=@a+1  
end