[font="Verdana"]This is how I did it, must be another way, but at least this one works:
IF OBJECT_ID('TEMPDB..#SYSTEMINFO') IS NOT NULL
DROP TABLE #SYSTEMINFO
CREATE TABLE #SYSTEMINFO
(SYSTEMINFO VARCHAR(500))
EXECUTE ('INSERT #SYSTEMINFO (SYSTEMINFO)
EXEC...