COL_NAME can be used to retrieve the column names of temporary tables using following syntax.
USE TEMPDB
SELECT COL_NAME(object_id("tempdb..#temp_table"),2)
where #temp_table is the name of temporary table. The above sql returns 2nd column name.
Hope this helps