数据库三角形小测试
程序员文章站
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