• + 1 comment

    what's wrong with this SQL query output coming correct but use case failed. declare @countercheck int; set @countercheck=20; while(@countercheck>0) begin select REPLICATE('*',@countercheck) set @countercheck=@countercheck-1; end