DECLARE @newData TABLE(id INT, data INT)
INSERT Scratch.dbo.TestData
	OUTPUT INSERTED.id AS [Inserted id],
	INSERTED.data AS [Inserted data]
	INTO @newData
SELECT * 
  SELECT * FROM
(SELECT 3 AS D
UNION SELECT 5 AS D
UNION SELECT 23 AS D
UNION SELECT 4 AS D
UNION SELECT 1000 AS D
) AS A
SELECT * FROM @newData
a
b
c
