📅  最后修改于: 2022-03-11 15:05:25.711000             🧑  作者: Mango
CREATE TABLE #Temp
(
)
DECLARE @position INT
SET @position = -1
WHILE(@position < 1)
BEGIN
INSERT INTO #Temp ()
SELECT * FROM mytable
SET @position = @position + 1
END
SELECT * FROM #Temp