Insira dados do procedimento armazenado em tabela

CREATE TABLE #TestTable ([name] NVARCHAR(256), [database_ID] INT);

INSERT INTO #TestTable
EXEC GetDBNames

-- Select Table
SELECT *
FROM #TestTable;
Fortune Mbulazi