欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

数据库三角形小测试

程序员文章站 2022-04-01 14:46:43
...

数据库三角形算法##

DECLARE @RUMLIST  INT =25
DECLARE @SUMLIST  INT 
DECLARE @I  INT
SET @[email protected];
WHILE(@RUMLIST>0)
BEGIN
DECLARE @NAME NVARCHAR(100)='';
    SET @[email protected]+1
	WHILE(@SUMLIST>0)
	BEGIN
		SET @[email protected]
		SET @[email protected]+' '
	END
	SET @[email protected];
	DECLARE @RUN INT 
	SET @[email protected]@RUMLIST;
	DECLARE @AT NVARCHAR(100)='';
	WHILE(@RUN>0)
	BEGIN
		SET @[email protected]+'*'+' '	
		SET @[email protected]
		
	END
	PRINT @[email protected]
END

数据库三角形小测试