SQL 编程 -- 打印直角三角形, while经典案例 ,case end 经典案例

declare @row int set @row = '1' while (@row<=4) begin declare @cl int set @cl = 1 while (@cl<@row) begin print '☆' set @cl = @cl+1 end print '' SET @row=@row+1 end -
相关文章
相关标签/搜索