• + 0 comments

    declare @pointer int = 20, @counter int = 1

    while (@counter <= @pointer) begin select(replicate('* ', @counter)) set @counter = @counter+1 end