This seems relatively simple, but apparently it\'s not.
I need to create a temp table based on an existing table via the select into syntax:
SELECT *
Take a look at OPENROWSET, and do something like:
SELECT * INTO #TEMPTABLE FROM OPENROWSET('SQLNCLI' , 'Server=(local)\SQL2008;Trusted_Connection=yes;', 'SELECT * FROM ' + @tableName)